Click here to Skip to main content
14,385,331 members

C / C++ / MFC

 
GeneralRe: Richard this code worked for me thanks Pin
ForNow4-Jul-15 20:47
MemberForNow4-Jul-15 20:47 
QuestionHow to Convert 8bit image data into RGB based on color palette in Direct2D? Pin
Kiran Satish1-Jul-15 17:10
MemberKiran Satish1-Jul-15 17:10 
AnswerRe: How to Convert 8bit image data into RGB based on color palette in Direct2D? Pin
CPallini1-Jul-15 21:58
mveCPallini1-Jul-15 21:58 
GeneralRe: How to Convert 8bit image data into RGB based on color palette in Direct2D? Pin
Kiran Satish2-Jul-15 6:27
MemberKiran Satish2-Jul-15 6:27 
AnswerRe: How to Convert 8bit image data into RGB based on color palette in Direct2D? Pin
Chris Losinger2-Jul-15 4:18
professionalChris Losinger2-Jul-15 4:18 
QuestionTiming in C language <time.h> Pin
a random user1-Jul-15 12:00
Membera random user1-Jul-15 12:00 
AnswerRe: Timing in C language <time.h> Pin
CPallini1-Jul-15 21:54
mveCPallini1-Jul-15 21:54 
QuestionProblem displaying CStatic text item Pin
ForNow30-Jun-15 9:09
MemberForNow30-Jun-15 9:09 
Hi.

I am all sorts of issues displaying a text on my dialog so first let me say what's involved
I have a CStatic ptr says
CStatic *mytext
I instintate this say
mytext = new CStatic;
The next few steps im not sure of the order
So now I want to connect this CWnd object to my resource file Id in my DIALOGEX resource says its a CTEXT so I call UpdateData or CDialog::OnInitDialog which does that for me
The DDX_control connects my CTEXT to mytext CWnd object next I do a mytext->SetWindowText however nothing appears within my CDialog
Do first have to do SetWindowText before DDX_control if DDX_control initilizes the CTEXT with what text is in my text then maybe I do
I have tried all sorts of methods including DrawText to display the text whitin the dialog but I get nothing displayed

QuestionRe: Problem displaying CStatic text item Pin
jeron130-Jun-15 10:56
Memberjeron130-Jun-15 10:56 
AnswerRe: Problem displaying CStatic text item Pin
ForNow30-Jun-15 11:11
MemberForNow30-Jun-15 11:11 
GeneralRe: Problem displaying CStatic text item Pin
jeron130-Jun-15 11:20
Memberjeron130-Jun-15 11:20 
GeneralRe: Problem displaying CStatic text item Pin
ForNow30-Jun-15 11:38
MemberForNow30-Jun-15 11:38 
GeneralRe: Problem displaying CStatic text item Pin
jeron130-Jun-15 12:41
Memberjeron130-Jun-15 12:41 
GeneralRe: Problem displaying CStatic text item Pin
ForNow30-Jun-15 12:57
MemberForNow30-Jun-15 12:57 
GeneralRe: Problem displaying CStatic text item Pin
jeron130-Jun-15 13:16
Memberjeron130-Jun-15 13:16 
GeneralRe: Problem displaying CStatic text item Pin
ForNow30-Jun-15 13:49
MemberForNow30-Jun-15 13:49 
GeneralOne more thing forgot Pin
ForNow30-Jun-15 13:58
MemberForNow30-Jun-15 13:58 
GeneralRe: One more thing forgot Pin
Richard MacCutchan1-Jul-15 1:22
mveRichard MacCutchan1-Jul-15 1:22 
AnswerRe: Problem displaying CStatic text item Pin
David Crow30-Jun-15 17:43
MemberDavid Crow30-Jun-15 17:43 
GeneralRe: Problem displaying CStatic text item Pin
ForNow30-Jun-15 18:06
MemberForNow30-Jun-15 18:06 
AnswerRe: Problem displaying CStatic text item Pin
David Crow1-Jul-15 3:03
MemberDavid Crow1-Jul-15 3:03 
GeneralRe: Problem displaying CStatic text item Pin
ForNow1-Jul-15 4:36
MemberForNow1-Jul-15 4:36 
GeneralRe: Problem displaying CStatic text item Pin
David Crow1-Jul-15 4:41
MemberDavid Crow1-Jul-15 4:41 
GeneralRe: Problem displaying CStatic text item Pin
jeron11-Jul-15 5:04
Memberjeron11-Jul-15 5:04 
GeneralRe: Problem displaying CStatic text item Pin
ForNow1-Jul-15 6:19
MemberForNow1-Jul-15 6:19 

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.