Hello,

how can i make a window be on top of all other windows in asm with this API ?

SetWindowPos(hwnd,HWND_TOPMOST, (int)ScreenX ,(int)ScreenY,(int)WinX,(int)WinY,NULL);


thanks for your time in advance :rolleyes:
Posted on 2003-08-26 07:15:27 by Ranma_at
The same way you say:
invoke SetWindowPos,[hwnd],HWND_TOPMOST, 30, 0, 1,1,SWP_SHOWWINDOW+SWP_NOMOVE+SWP_NOSIZE


An example here (after about dialog, the window gets topmost):
Posted on 2003-08-26 07:47:16 by pelaillo
no this thing is not working



.if wParam == IDONTOP
invoke SetWindowPos,[IDD_DIALOG1],HWND_TOPMOST, 30, 0, 1, 1,SWP_SHOWWINDOW+SWP_NOMOVE+SWP_NOSIZE
.endif


no errors on compiling and app is running but doesnt stay ontop
Posted on 2003-08-26 08:03:25 by Ranma_at
contains what? it should be the window handle, not its id
Posted on 2003-08-26 08:39:19 by evlncrn8