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...
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...
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...
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...
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...
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...
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...
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;
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.