Click here to Skip to main content
15,920,896 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Draw problem Pin
Michael P Butler6-Dec-01 3:57
Michael P Butler6-Dec-01 3:57 
GeneralPainting dialog background Pin
6-Dec-01 4:12
suss6-Dec-01 4:12 
GeneralRe: Painting dialog background Pin
Christian Graus6-Dec-01 9:17
protectorChristian Graus6-Dec-01 9:17 
GeneralRe: Painting dialog background Pin
Michael Dunn6-Dec-01 9:33
sitebuilderMichael Dunn6-Dec-01 9:33 
GeneralLooking for panacea...Type of the control...I have only CWnd pointer Pin
Ahmad996-Dec-01 3:07
Ahmad996-Dec-01 3:07 
GeneralRe: Looking for panacea...Type of the control...I have only CWnd pointer Pin
Rickard Andersson206-Dec-01 3:24
Rickard Andersson206-Dec-01 3:24 
GeneralRe: Looking for panacea...Type of the control...I have only CWnd pointer Pin
Jon Hulatt6-Dec-01 6:06
Jon Hulatt6-Dec-01 6:06 
GeneralRe: Looking for panacea...Type of the control...I have only CWnd pointer Pin
Alvaro Mendez6-Dec-01 10:13
Alvaro Mendez6-Dec-01 10:13 
I recommend you use the window's class name instead:

CString strClassName;
::GetClassName(GetDlgItem(IDC_EDIT1).GetSafeHwnd(), strClassName.GetBuffer(100), 100);
strClassName.ReleaseBuffer();
 
if (strClassName == "EDIT")
   AfxMessageBox("It's an edit box");


Take a look at CreateWindow for a list of possible class names.

Regards,
Alvaro
GeneralRe: Looking for panacea...Type of the control...I have only CWnd pointer Pin
Jon Hulatt6-Dec-01 22:29
Jon Hulatt6-Dec-01 22:29 
GeneralPlease Help !!! Pin
The_Server6-Dec-01 1:26
The_Server6-Dec-01 1:26 
GeneralRe: Please Help !!! Pin
Jon Hulatt6-Dec-01 2:28
Jon Hulatt6-Dec-01 2:28 
GeneralRe: Please Help !!! Pin
Christian Graus6-Dec-01 9:19
protectorChristian Graus6-Dec-01 9:19 
GeneralEnum... Pin
Bernhard6-Dec-01 1:10
Bernhard6-Dec-01 1:10 
GeneralRe: Enum... Pin
BlackSmith6-Dec-01 11:00
BlackSmith6-Dec-01 11:00 
GeneralThank you all for your great help Pin
Bernhard6-Dec-01 19:20
Bernhard6-Dec-01 19:20 
GeneralRe: Enum... Pin
Shog96-Dec-01 12:42
sitebuilderShog96-Dec-01 12:42 
GeneralRe: Enum... Pin
Michael Dunn6-Dec-01 13:32
sitebuilderMichael Dunn6-Dec-01 13:32 
GeneralFinding proper documentation for AddIn Interfaces Pin
Franz Klein5-Dec-01 23:24
Franz Klein5-Dec-01 23:24 
GeneralError in calling resource function Pin
5-Dec-01 22:36
suss5-Dec-01 22:36 
GeneralBeginner : using .INI files Pin
Jerome Conus5-Dec-01 22:11
Jerome Conus5-Dec-01 22:11 
GeneralRe: Beginner : using .INI files Pin
Michael P Butler5-Dec-01 23:36
Michael P Butler5-Dec-01 23:36 
GeneralRe: Beginner : using .INI files Pin
Alvaro Mendez6-Dec-01 10:17
Alvaro Mendez6-Dec-01 10:17 
GeneralThread problem Pin
marutis5-Dec-01 21:57
marutis5-Dec-01 21:57 
QuestionDraw text without HDC, possible? Pin
Baling5-Dec-01 21:18
Baling5-Dec-01 21:18 
AnswerRe: Draw text without HDC, possible? Pin
Chambers6-Dec-01 2:23
Chambers6-Dec-01 2:23 

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.