Click here to Skip to main content
       

C / C++ / MFC

 
AnswerRe: Heap corruption problem after AfxBeginThread? PinmemberBilliousBob23-Nov-12 4:49 
AnswerRe: Heap corruption problem after AfxBeginThread? PinmemberStephen Hewitt25-Nov-12 7:04 
QuestionWhat are the steps required, i will connect to the SQL named instance server using the "CDatabase::OpenEx" by using the DNS Name? Pinmemberlucky_122122-Nov-12 0:41 
AnswerRe: What are the steps required, i will connect to the SQL named instance server using the "CDatabase::OpenEx" by using the DNS Name? PinmvpRichard MacCutchan22-Nov-12 3:38 
QuestionChanging Dialog Button Color at runTime Pinmemberyogeshs20-Nov-12 23:07 
AnswerRe: Changing Dialog Button Color at runTime Pinmembermanoranjan21-Nov-12 0:05 
GeneralRe: Changing Dialog Button Color at runTime Pinmemberyogeshs21-Nov-12 0:37 
GeneralRe: Changing Dialog Button Color at runTime Pinmembermanoranjan21-Nov-12 1:12 
It will be sent to the parent window (in your case the dialog) just before the button is painted. So handle it in your dialog's DlgProc function by creating a brush in the background color that you want, casting it to BOOL and returning it. See MSDN for details.
 
http://msdn.microsoft.com/en-us/library/aa930774.aspx[^]
GeneralRe: Changing Dialog Button Color at runTime Pinmemberyogeshs21-Nov-12 18:56 
GeneralRe: Changing Dialog Button Color at runTime Pinmembermanoranjan21-Nov-12 19:40 
QuestionPng Image button problem. Pingroupyu-jian20-Nov-12 6:53 
QuestionMinimize CDialog Problem Pingroupyu-jian20-Nov-12 6:22 
AnswerRe: Minimize CDialog Problem Pinmemberjeron120-Nov-12 6:31 
QuestionRe: Minimize CDialog Problem PinmemberMaximilien20-Nov-12 8:26 
QuestionCheck if a character is lowercase and change to uppercase. PinmemberMitchG92_2420-Nov-12 0:49 
AnswerRe: Check if a character is lowercase and change to uppercase. PinmemberMitchG92_2420-Nov-12 0:56 
AnswerRe: Check if a character is lowercase and change to uppercase. Pinmembersajeesh.c20-Nov-12 17:34 
GeneralRe: Check if a character is lowercase and change to uppercase. PinmvpRichard MacCutchan20-Nov-12 21:31 
QuestionIs it possible to capture an HD video/ to generate videos in HD in C++/VC++/MFC.? Pinmembermbatra3119-Nov-12 22:15 
QuestionProblem with string conversion PinmemberHungryCPPDev19-Nov-12 19:08 
AnswerRe: Problem with string conversion PinmemberJochen Arndt19-Nov-12 21:40 
GeneralRe: Problem with string conversion [modified] PinmemberHungryCPPDev20-Nov-12 18:05 
GeneralRe: Problem with string conversion PinmemberJochen Arndt22-Nov-12 2:52 
QuestionHow to set the alignment of items of CListCtrl Pinmemberrahul.kulshreshtha19-Nov-12 16:43 
AnswerRe: How to set the alignment of items of CListCtrl PinmvpRichard MacCutchan19-Nov-12 22:50 

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

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


Advertise | Privacy | Mobile
Web02 | 2.8.141015.1 | Last Updated 21 Oct 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid