Click here to Skip to main content
15,917,174 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralC++ Question. Pin
WREY2-Sep-03 0:59
WREY2-Sep-03 0:59 
GeneralRe: C++ Question. Pin
Neville Franks2-Sep-03 2:25
Neville Franks2-Sep-03 2:25 
GeneralRe: C++ Question. Pin
WREY2-Sep-03 8:47
WREY2-Sep-03 8:47 
GeneralRe: C++ Question. Pin
Alexandru Savescu2-Sep-03 3:19
Alexandru Savescu2-Sep-03 3:19 
GeneralRe: C++ Question. Pin
WREY2-Sep-03 9:01
WREY2-Sep-03 9:01 
GeneralRe: C++ Question. Pin
Xiangyang Liu 刘向阳2-Sep-03 12:46
Xiangyang Liu 刘向阳2-Sep-03 12:46 
GeneralThanks for the solution!! Pin
WREY2-Sep-03 14:03
WREY2-Sep-03 14:03 
GeneralX-button Pin
JensB1-Sep-03 23:08
JensB1-Sep-03 23:08 
Hi
I used the SPY tool of Visual Studio to determine which messages are sent when you press the 'X'-button on a dialog: WM_CLOSE & WM_ONSYSCOMMAND if i'm not wrong.

The 'X' button makes sure you get ride of your dialog but i want the main dialog to be closed as well.

|==================================|
| Main window [ _][ X ]<----After first X click, this click too
===================================|
|==================================|
|[] Dialog [ X ]<--- First you click here;
===================================|

So i click the 'X' on the dialog, and that dialog gets closed. But the 'X' on the main window has to be closed aswell.

Anyone any ideas?!?

Greetings
Jens
GeneralRe: X-button Pin
Jason Henderson2-Sep-03 3:08
Jason Henderson2-Sep-03 3:08 
GeneralRe: X-button Pin
JensB2-Sep-03 3:18
JensB2-Sep-03 3:18 
GeneralRe: X-button Pin
Jason Henderson2-Sep-03 3:47
Jason Henderson2-Sep-03 3:47 
GeneralRe: X-button Pin
JensB2-Sep-03 3:54
JensB2-Sep-03 3:54 
Generalwininet &amp; ssl trouble Pin
Cristian Traum1-Sep-03 21:50
Cristian Traum1-Sep-03 21:50 
Generalmessage identifier Pin
ranjjj1-Sep-03 21:19
ranjjj1-Sep-03 21:19 
Questiondisable keys?? Pin
xxhimanshu1-Sep-03 21:14
xxhimanshu1-Sep-03 21:14 
GeneralA Problem... :S - ATL COM suspected! Pin
fadee1-Sep-03 21:04
fadee1-Sep-03 21:04 
GeneralRe: A Problem... :S - ATL COM suspected! Pin
Braulio Dez2-Sep-03 3:50
Braulio Dez2-Sep-03 3:50 
GeneralRe: A Problem... :S - ATL COM suspected! Pin
fadee2-Sep-03 21:17
fadee2-Sep-03 21:17 
GeneralPOSIX standard Pin
Anonymous1-Sep-03 20:57
Anonymous1-Sep-03 20:57 
GeneralMAPI help Pin
ranjjj1-Sep-03 20:37
ranjjj1-Sep-03 20:37 
GeneralRe: MAPI help Pin
David Crow2-Sep-03 2:46
David Crow2-Sep-03 2:46 
General.dll help needed Pin
Abhi@Work1-Sep-03 20:11
Abhi@Work1-Sep-03 20:11 
GeneralRe: .dll help needed Pin
kaber1-Sep-03 20:20
kaber1-Sep-03 20:20 
GeneralRe: .dll help needed Pin
Abhi@Work1-Sep-03 20:44
Abhi@Work1-Sep-03 20:44 
GeneralRe: .dll help needed Pin
l a u r e n1-Sep-03 22:15
l a u r e n1-Sep-03 22:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.