Click here to Skip to main content
15,918,303 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: tHow to restrict Edit control in MFC Pin
Eytukan26-Oct-05 1:54
Eytukan26-Oct-05 1:54 
QuestionRe: tHow to restrict Edit control in MFC Pin
David Crow26-Oct-05 3:05
David Crow26-Oct-05 3:05 
QuestionEnumerating mount points on Windows 2000 Pin
Chintoo72326-Oct-05 0:56
Chintoo72326-Oct-05 0:56 
QuestionRe: Enumerating mount points on Windows 2000 Pin
David Crow26-Oct-05 3:10
David Crow26-Oct-05 3:10 
QuestionService in win2003 Pin
C V Ganesh Babu26-Oct-05 0:37
C V Ganesh Babu26-Oct-05 0:37 
QuestionActivate Caption Pin
The NULL Developer25-Oct-05 23:25
professionalThe NULL Developer25-Oct-05 23:25 
AnswerRe: Activate Caption Pin
John R. Shaw26-Oct-05 16:17
John R. Shaw26-Oct-05 16:17 
GeneralRe: Activate Caption Pin
The NULL Developer26-Oct-05 19:59
professionalThe NULL Developer26-Oct-05 19:59 
Hi,

This is what i'm doing, in VS .net 2003:

1. Create an SDI application.
2. Add a dialog to resource named IDD_DIALOG1 and make the Style as Child.
3. Add a Dialog class from that resource, say CDlgTest.
4. Add a member variable, say m_dlgTest to the View class of the application.
5. In the WM_CREATE message handler of the view class, I add the following two lines,

m_dlgTest.Create( IDD_DIALOG1, this );
m_dlgTest.ShowWindow( SW_SHOW );

The dialog window which shows up is never painted as activated. In my application, I'm having several such windows, so there is no way for the user to know which window is he working upon?

Please help.
Thanks in advance.

"Do first things first, and second things not at all."
Peter Drucker.

QuestionIImageDecodeEventSink Pin
Carsten Leue25-Oct-05 23:17
Carsten Leue25-Oct-05 23:17 
QuestionCalling from explicitly loaded .dll Pin
DaveDrPop25-Oct-05 22:41
DaveDrPop25-Oct-05 22:41 
AnswerRe: Calling from explicitly loaded .dll Pin
Chris Losinger26-Oct-05 1:39
professionalChris Losinger26-Oct-05 1:39 
QuestionDetect USB drive writable Pin
LiYS25-Oct-05 22:24
LiYS25-Oct-05 22:24 
AnswerRe: Detect USB drive writable Pin
kakan26-Oct-05 0:46
professionalkakan26-Oct-05 0:46 
GeneralRe: Detect USB drive writable Pin
LiYS26-Oct-05 5:32
LiYS26-Oct-05 5:32 
GeneralRe: Detect USB drive writable Pin
Blake Miller26-Oct-05 6:59
Blake Miller26-Oct-05 6:59 
GeneralRe: Detect USB drive writable Pin
kakan26-Oct-05 19:35
professionalkakan26-Oct-05 19:35 
GeneralRe: Detect USB drive writable Pin
LiYS27-Oct-05 19:19
LiYS27-Oct-05 19:19 
QuestionHow to set a Textcolor in a CListCtrl Pin
bosfan25-Oct-05 22:23
bosfan25-Oct-05 22:23 
AnswerRe: How to set a Textcolor in a CListCtrl Pin
prasad_som25-Oct-05 23:34
prasad_som25-Oct-05 23:34 
GeneralRe: How to set a Textcolor in a CListCtrl Pin
Anonymous26-Oct-05 1:02
Anonymous26-Oct-05 1:02 
QuestionHow can I get a copy of wav file with other format Pin
extraf25-Oct-05 21:38
extraf25-Oct-05 21:38 
AnswerRe: How can I get a copy of wav file with other format Pin
Blake Miller26-Oct-05 7:00
Blake Miller26-Oct-05 7:00 
QuestionHide the blue task pane in a CHtmlView Pin
gleditzsch25-Oct-05 21:26
gleditzsch25-Oct-05 21:26 
QuestionDensity sampling Pin
Arrun25-Oct-05 20:50
Arrun25-Oct-05 20:50 
Questionprime number with recursion Pin
Rajesh_K_Sharma25-Oct-05 20:07
Rajesh_K_Sharma25-Oct-05 20:07 

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.