blabberer
February 23rd, 2004, 10:38
what are you asking (correct call that makes the window ???)
CreateWindow, CreateWindowEx, 
how do you mean by setting bpt on handle 
setting bpt for what (messages,mouse movement ,keyboard,creation,destroying ????)
have you tried looking into windows window on olly
and right clicking on it 
you will see a message breakpoint on any windows on <winproc>
there is a big drop down box for all kind of messages
see stack details of some arbitary exe i loaded it vb 

/CALL to Assumed WinProc from USER32.77E13EAD
|hWnd = 001402FE ('CRC 32 Algorithm Test',class='ThunderRT6FormDC')
|Message = WM_COMMAND
|Notify = MENU/BN_CLICKED... ID = 1.
\hControl = 000902E2 ('Check',class='ThunderRT6CommandButton',parent=001402FE)
here is the log window details
Log data
Address    Message
6A9EFFCB   CALL to Assumed WinProc from USER32.77E13EAD
             hWnd = 001402FE ('CRC 32 Algorithm Test',class='ThunderRT6FormDC')
             Message = WM_COMMAND
             Notify = MENU/BN_CLICKED... ID = 1.
             hControl = 000902E2 ('Check',class='ThunderRT6CommandButton',parent=001402FE)
6A9EFFCB   Conditional breakpoint at MSVBVM60.6A9EFFCB
hope it helps your
i saw the topic name after i posted this 
disabling windows ???? the content inside topic is different 
exactly what are you trying to do 
look into show window sw_show, sw_shownormal,sw_hide,sw_maximised etc etc