Exetools  

Go Back   Exetools > General > General Discussion

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 06-08-2005, 21:55
JuneMouse
 
Posts: n/a
well since you are talking about a messagebox i can possibly hazard a guess
a messagebox that has pushed its owner window handle and the Flag MB_APPLMODAL
wont let you do anything with the owner window unless you have disposed the messagebox i feel that is what you are experiencing

edit
well to reinforce i cooked up a small code

you wont be able to do anything with the parent
ie if you copy paste this to your desktop and execute it from there
you wont be able to click open you MYComputer mydocuments etc

Code:
.386
.model flat, stdcall
option casemap:none
include       \masm32\include\windows.inc
include       \masm32\include\kernel32.inc
includelib    \masm32\lib\kernel32.lib
include       \masm32\include\user32.inc
includelib    \masm32\lib\user32.lib

.data
MsgCaption      db "Iczelion's tutorial no.2",0
MsgBoxText      db "Win32 Assembly is Great!",0

.code
start:
      
             invoke GetForegroundWindow      
	invoke MessageBox, eax,addr MsgBoxText, addr MsgCaption, MB_OK
	invoke ExitProcess,NULL
end start
Attached Files
File Type: zip hobferret.zip (917 Bytes, 8 views)

Last edited by JuneMouse; 06-08-2005 at 22:14. Reason: added code and attachment
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Social Media Handles Jaspreet Singh General Discussion 2 11-08-2023 16:05
how do you get a list of open file handles? mokokan General Discussion 4 01-05-2006 01:55


All times are GMT +8. The time now is 00:51.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )