The Artima Developer Community
Sponsored Link

Design Forum
HOWTO retrieve an handle for a dialog box created with DialogBox()

1 reply on 1 page. Most recent reply: Apr 22, 2004 2:47 PM by acaro

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
acaro

Posts: 2
Nickname: acaro
Registered: Apr, 2004

HOWTO retrieve an handle for a dialog box created with DialogBox() Posted: Apr 22, 2004 2:45 PM
Reply to this message Reply
Advertisement
In my program i have a main window with a menu bar, when clicking some menu items it displays a diferent dialog box for each case... Since i create them with a call to DialogBox() i don´t get an handle by default, which i need, in order to allow user input.How do i work around this.

I know that a call to CreateDialog() does that, but i didn´t use it because i don´t want the user to be able to interact with the main window while a dialog box is active. with a DialogBox() i get that result by default...

So
1-is there a way to get the handle while using DialogBox()??? or ..

2- how can i manage the situation while replacing that call for a CreateDialog() one (not allowing for the user to click the main window while the dialog is active.????

thanks a lot
acaro...


acaro

Posts: 2
Nickname: acaro
Registered: Apr, 2004

Re: HOWTO retrieve an handle for a dialog box created with DialogBox() Posted: Apr 22, 2004 2:47 PM
Reply to this message Reply
!!!

Flat View: This topic has 1 reply on 1 page
Topic: Can you help me finish this program. Previous Topic   Next Topic Topic: Article on Precise Uses Cases

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use