Mar 072008
 
Share

Just try this from OnInitDialog, this trick will make any window unmovable.

CMenu* pSysMenu = GetSystemMenu(FALSE);
pSysMenu->RemoveMenu(SC_MOVE, MF_BYCOMMAND);

Lol lol now it’s not moving. Ah no!!! Now tell me how can I make it movable again? Lol the funniest question of the century…ROTFL. :)

Share

  2 Responses to “Creating an unmovable dialog!”

  1. this is funny :PPP

Leave a Reply