Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: computerwhiz
  • Order by date
  1. computerwhiz

    error in resource file

    I knew it had to be something stupid that I did wrong. I was putting a semicolon at the end and I should not have. thanks.
  2. computerwhiz

    error in resource file

    I keep getting this error and I don't understand why. error: Line 22 in file resource.rc : parse error #include "Main.h" ABOUTBOX DIALOGEX 22, 17, 171, 59 STYLE DS_MODALFRAME | WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU CAPTION "Check Parser" FONT 8, "MS Sans Serif" { CONTROL "A", -1...
  3. computerwhiz

    refresh the contents of the entire window?

    How do I refresh the entire contents of the main window and all subwindows, listboxs, static boxes, etc. after resizing my main window.. As my main window is resized the other controls are repositioned according to the new window size, but the text is always staying without refreshing, and...
  4. computerwhiz

    maximize button--disable or remove??

    how do I remove or disable the maximize button in the system title bar.
  5. computerwhiz

    writing to files

    I am reading a file by 81 char chunks, after I process this piece of info and write it to the new file, there is a "defective" char at every 81 char split. I have been having to move the file pointer back one space to correct this but is there a something that I am doing wrong? BOOL...
  6. computerwhiz

    Progress bars/ what a pain??

    I feel so stupid, you are right and I relized it as soon as I saw your post. thanks.
  7. computerwhiz

    Progress bars/ what a pain??

    by the way I am using the default range setting of 0 to 100, I have not reset the step increment since I an not using stepit.
  8. computerwhiz

    Progress bars/ what a pain??

    I am trying to have my progress bar advance to the end only once. But I either end up scrolling several times or the progress bar won't scroll at all until the last read statement, and then filling the entire bar at once. I am reading in a file in chuncks, keeping count of total bytes read and...
  9. computerwhiz

    listbox count???

    I am trying to find the count of items in my listbox and then delete those items but when I retrieve the count I get half of what I should. I have tried both ways of getting the listbox count. example: my listbox has 10 entries, the count would come back as 5. my listbox has 3 entries, the...
  10. computerwhiz

    drag and drop files

    I cannot figure out what I am doing wrong. I cannot get my program to pull the file name from the dropped files structure. I am using dev-cpp and I am getting the error: 97 C:\WINDOWS\Desktop\mysourceC++\main.cpp invalid conversion from `void*' to `HDROP__*' msdn.com says this is the way to...
  11. computerwhiz

    Dev-C++ compiler giving error `__gxx_personality_v0'

    absolutely perfect, I took my files and placed them into a new project and when I compiled it worked. thank you very much.
  12. computerwhiz

    Dev-C++ compiler giving error `__gxx_personality_v0'

    This is the make file: # Project: chkparser # Makefile created by Dev-C++ 4.9.8.7 CPP = g++.exe CC = gcc.exe WINDRES = windres.exe RES = chkparser_private.res OBJ = Main.o $(RES) LINKOBJ = Main.o $(RES) LIBS = -L"C:/DEV-CPP/lib" -mwindows INCS = -I"C:/DEV-CPP/include" CXXINCS =...
  13. computerwhiz

    Dev-C++ compiler giving error `__gxx_personality_v0'

    I keep getting this error I have listed below but I cannot figure out what is causing it. Please help. I would show you code but I don't even know what is causing the error. Compiler: Default compiler Building Makefile: "C:\WINDOWS\Desktop\mysource\Makefile.win" Executing make... make.exe -f...
  14. computerwhiz

    memory management???

    Is there a faster way to insert a particular string into a string at a certain position? Here is the code I am using now. <pszText> is a static global variable accessed in several functions. My program is running to slow, would reallocation be faster than what I am doing now? void Insert(int...
  15. computerwhiz

    how do i convert an int into an lpstr for use in a string

    I need to use the number in my loop counter as part of a string to show the count in my status bar. but I cannot figure out how to convert my int variable into a lpstr variable for use. I was thinking like this: int Pages = 0; lpstr Temp = &Pages;
  16. computerwhiz

    messagebox()

    ohh man that was so duh. thanks, that was my dumb moment for the day.
  17. computerwhiz

    messagebox()

    how do I use the results from a user pressing "yes" or "no" in a message box? an if statement or in wndproc area? INT Result = MessageBox( hwnd, "This file has not been parsed.\r\n" "Do you want to Parse this file now?", "File not parsed", MB_YESNO | MB_DEFBUTTON1 |...
  18. computerwhiz

    SETTEXT OF DIALOG??????

    is there a large scale text editor dialog box that can be used? Or should I just rethink this whole procedure and use textout to display the file text? Would the dialog be able to handle the amount of data using textout?
  19. computerwhiz

    SETTEXT OF DIALOG??????

    Why is it that I can load whatever size file I want into the edit dialog when I am on &quot;Windows 2000 Professional&quot; but as soon as I run this program on windows 98 I can load the file text into memory but I cannot set the edit dialog text if the amount of text is over 64K? I am truly...
  20. computerwhiz

    Loading a file into a dialog box for editing?

    all the data of the file is being parsed into pieces in one continuous while loop.

Part and Inventory Search

Back
Top