News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Icons on desktop....

Started by Dark Schneider, November 08, 2006, 08:36:31 AM

Previous topic - Next topic

ragdog

thx fo the information :U

i make that so

.ELSEIF uMsg==WM_COMMAND
   .IF  wParam==1001
          call HideIcons
    .ELSEIF wParam==1002
          call    ShowIcons
    .ENDIF

TNick

This is  embarrassing...

You are absolutely right.

ID_Button1   EQU   1001
ID_Button1   EQU   1001
.
.
.
.ELSEIF uMsg==WM_COMMAND
   .IF  wParam==(BN_CLICKED SHL 16) or ID_Button1
          call HideIcons
    .ELSEIF wParam==(BN_CLICKED SHL 16) or ID_Button1
          call    ShowIcons
    .ENDIF

=> general form
.ELSEIF uMsg==WM_COMMAND
   .IF         wParam==(AnyNotificationCode1 SHL 16) or ID_Any
          call    Something1
    .ELSEIF wParam==(AnyNotificationCode2 SHL 16) or ID_Any
          call    Something2
    .
    .
    .
    .ENDIF

I will stand in a corner in my  knees for 10 minutes for this one. :tdown :red
Nick