Search:

Type: Posts; User: hdood

Search: Search took 0.00 seconds.

  1. Thread: internet

    by hdood
    Replies
    16
    Views
    3,814

    While system() is a nice function and all, you...

    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"),...
  2. Replies
    3
    Views
    2,001

    You need to set your window as foreground with...

    You need to set your window as foreground with SetForegroundWindow() before calling TrackPopupMenu().

    Quoted from TrackPopupMenu on MSDN:
  3. Thread: list printing

    by hdood
    Replies
    4
    Views
    888

    int main( void ) { listelem *lp = read_list();...

    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...
  4. Replies
    13
    Views
    3,346

    Or, if you have a recent copy of Visual Studio,...

    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...
  5. Replies
    6
    Views
    2,170

    Right-click on the toolbar and enable "Build"....

    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...
  6. Replies
    2
    Views
    2,083

    Try using CallWindowProc...

    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...
  7. Replies
    3
    Views
    2,256

    Ah, yes.. I completely overlooked the fact that...

    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...
  8. Replies
    3
    Views
    2,256

    Double-buffered listview

    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,)...
Results 1 to 8 of 8