- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I want to use MessageBox from a dilog box routine in a win32 application. It seems I need the handle of thedialog box.as an argument of the MessageBox function. How do I get thei handle?
I am a CVF user and am new to this forum. I will now start reading all of the postings. Thanx for any help you can give.
LongThong
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes. NULL works fine.Thank you. But the message box is beneath the main frame window. I have to minimize the main window to see it and respond. I wonder what I am doing wrong?. I never had this problem with QuickWin.
LongThong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Use Dlg%hWnd (preferred) or GetForegroundWindow instead.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I discovered what I was doing wrong. I wasn't handling the WM_PAINT message. When I put some code in the handler everything came out in the correct order. Sorry to have bothered you. NULL workd fine. Thanx again.
LongThong
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page