While system() is a nice function and all, you would probably be better off with ShellExecute.
This will open Google in the default browser:
ShellExecute(NULL, _T("open"),...
Type: Posts; User: hdood
While system() is a nice function and all, you would probably be better off with ShellExecute.
This will open Google in the default browser:
ShellExecute(NULL, _T("open"),...
You need to set your window as foreground with SetForegroundWindow() before calling TrackPopupMenu().
Quoted from TrackPopupMenu on MSDN:
int main( void ) {
listelem *lp = read_list();
listelem *lp next; <---------- ?
If you had read the error message the compiler gave you, and gone to the line number it gave...
Or, if you have a recent copy of Visual Studio, have a look in \Vc7\crt\src.
crt0.c is responsible for calling your application's entry point, while the other crt*.c files contain various support...
Right-click on the toolbar and enable "Build". The toolbar icons to compile look a little like small birthday cakes. You can also use the "Build" menu or F7 to build the entire solution.
If you...
Try using CallWindowProc, to call the original window process instead of calling it directly. Also, remember to give all your windows unique (within the parent window) identifiers.
#define...
Ah, yes.. I completely overlooked the fact that the listview header is a seperate control. Doh!
So what I'm doing now is getting the window handle with LVM_GETHEADER on creation, and then...
Hi. I'm having some problems making a listview (in report view) double-buffered. The code I have works fine (if you overlook the fact that it's allocating everything each time WM_PAINT is called,)...