Igor Delovski Board Forum Index Igor Delovski Board
My Own Personal Slashdot!
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Dialogs

 
Post new topic   Reply to topic    Igor Delovski Board Forum Index -> Win32
Win32  
Author Message
Jean Jacques



Joined: 01 Jul 2006
Posts: 12

PostPosted: Thu Aug 31, 2006 5:14 pm    Post subject: Dialogs Reply with quote

Raymond: The dialog class goes under the sneaky name WC_DIALOG

"An anonymous commenter wanted to know how to create a dialog box
with CreateWindow. The window class for dialog boxes is WC_DIALOG. I'm
not quite sure why anybody would want to create a dialog box this way, but
there you have it."
Back to top
View user's profile Send private message
Ho Ho
Guest





PostPosted: Thu Sep 07, 2006 5:16 pm    Post subject: Reply with quote

How to Set Your Own Support Information in System Properties - Win XP, 2k, 98, ME

"This tips is very useful for those who are running computer store or
support business. It teach you how to set your own support information in
Microsoft Windows System Properties."
Back to top
delovski



Joined: 14 Jun 2006
Posts: 3523
Location: Zagreb

PostPosted: Sat Sep 23, 2006 3:22 pm    Post subject: Reply with quote

How do I wait until my dialog box is displayed before doing something?

"The customer discovered that displaying the nested dialog box in
response to the WM_INITDIALOG message was premature, because as we
all know, the WM_INITDIALOG is sent before the dialog box is displayed.
The question therefore is, 'How do I want until my dialog box is displayed
before doing something?' "
Back to top
View user's profile Send private message Visit poster's website
delovski



Joined: 14 Jun 2006
Posts: 3523
Location: Zagreb

PostPosted: Mon Sep 25, 2006 5:10 pm    Post subject: Reply with quote

Answer to yesterday's post: Waiting until the dialog box is displayed before doing something

"Many window messages are notifications which are delivered while the
operation is still in progress. You do not want to display new UI while
handling those notifications because that holds up the completion of the
original UI operation that generated the notification in the first place. Posting
a message to yourself to complete the user interaction after the original
operation has stabilized is the standard solution."
Back to top
View user's profile Send private message Visit poster's website
Harrod
Guest





PostPosted: Tue Oct 03, 2006 7:12 pm    Post subject: Reply with quote

Links to Raymond Chen's Dialog Manager Series, published March and April 2005:

The dialog manager, part 1 - 9

He, He!
Back to top
Mambo 5
Guest





PostPosted: Fri Oct 13, 2006 3:58 pm    Post subject: Reply with quote

How do I prevent multi-line edit controls from eating the Enter key?

"As we saw quite some time ago, a control responds to the WM_GETDLGCODE
message to influence the behavior of the dialog manager."
Back to top
delovski



Joined: 14 Jun 2006
Posts: 3523
Location: Zagreb

PostPosted: Fri Oct 20, 2006 8:34 pm    Post subject: Reply with quote

Bizarre: Problem with GetOpenFileName() on Win XP SP2

"The second time time the dialog is executed the application will unexpectedly
close when the "hint" window pops up after hovering the mouse over a file. "
Back to top
View user's profile Send private message Visit poster's website
delovski



Joined: 14 Jun 2006
Posts: 3523
Location: Zagreb

PostPosted: Thu Nov 02, 2006 6:03 pm    Post subject: Reply with quote

Raymond Chen: Make sure you disable the correct window for modal UI

"Both of the problems boiled down to somebody passing a child window
as the hwndParent and the code doing manual modal UI failing to convert
this window to a top-level window. As a result, when they did the
EnableWindow(hwndParent, FALSE), they disabled a child window, leaving
the top-level window enabled."
Back to top
View user's profile Send private message Visit poster's website
delovski



Joined: 14 Jun 2006
Posts: 3523
Location: Zagreb

PostPosted: Thu Dec 14, 2006 9:55 pm    Post subject: Reply with quote

Strange arangement, but interesting all the same:

Tabbing in modeless dialog that is a child of a modal dialog

"Now I want to be able to tab between the controls on the modeless
dialog. But that does not work. "
Back to top
View user's profile Send private message Visit poster's website
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3031
Location: Europe

PostPosted: Wed Jan 31, 2007 5:53 pm    Post subject: Reply with quote

CodeGuru: SW_HIDE

"I have SW_HIDE to hide the dialog window when it is launched. But the
thing is it always flashes for a second before it hides. How to get ride of
the flashing everything it open in hidden mode?"
Back to top
View user's profile Send private message
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3031
Location: Europe

PostPosted: Thu Feb 15, 2007 5:32 pm    Post subject: Reply with quote

CodeGuru: Task Dialogs in Vista

"How many times have you come across a situation where you have a
message box pop up with some text in it and three buttons: Yes, No, and
Cancel. Have you ever been stumped by the options, trying to figure out
what the difference was with selecting No versus selecting Cancel? Well, I
have had to scratch my head on numerous occasions where a MessageBox
simply wasn't conveying the right message. Finally, Windows Vista seems
to have an answer to this."
Back to top
View user's profile Send private message
delovski



Joined: 14 Jun 2006
Posts: 3523
Location: Zagreb

PostPosted: Mon May 21, 2007 9:10 pm    Post subject: Reply with quote

RC: Don't be helpless: I don't know anything about MFC modal loops,
but unlike some people, I'm not afraid to find out


"But let's look at the question another way, which is my point for today:
You have the MFC source code. Don't be afraid to read it."
Back to top
View user's profile Send private message Visit poster's website
delovski



Joined: 14 Jun 2006
Posts: 3523
Location: Zagreb

PostPosted: Wed Jun 27, 2007 3:34 pm    Post subject: Reply with quote

RC: Those who do not understand the dialog manager are doomed to reimplement it, badly

"In this case, we want to prevent the edit control from saying "Give me the Tab
key." We saw last time that this is done either by (1) setting the DLGC_WANTTAB
dialog code or by (2) responding with DLGC_WANTMESSAGE when given a Tab
key message. "
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Igor Delovski Board Forum Index -> Win32 All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Delovski.hr
Powered by php-B.B. © 2001, 2005 php-B.B. Group