Click here to Skip to main content
15,886,422 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Dialog box with changeable STATIC text and TITLE Pin
RomTibi4-Dec-07 8:57
RomTibi4-Dec-07 8:57 
GeneralDialog box with changeable STATIC text Pin
RomTibi3-Dec-07 9:09
RomTibi3-Dec-07 9:09 
QuestionRe: Dialog box with changeable STATIC text Pin
Mark Salsbery3-Dec-07 10:08
Mark Salsbery3-Dec-07 10:08 
GeneralRe: Dialog box with changeable STATIC text Pin
RomTibi4-Dec-07 8:57
RomTibi4-Dec-07 8:57 
GeneralRe: Dialog box with changeable STATIC text Pin
Hamid_RT3-Dec-07 19:31
Hamid_RT3-Dec-07 19:31 
GeneralRe: Dialog box with changeable STATIC text Pin
RomTibi4-Dec-07 8:58
RomTibi4-Dec-07 8:58 
GeneralRe: Dialog box with changeable STATIC text Pin
Hamid_RT4-Dec-07 18:22
Hamid_RT4-Dec-07 18:22 
GeneralRe: Dialog box with changeable STATIC text Pin
Nelek4-Dec-07 21:23
protectorNelek4-Dec-07 21:23 
The Title of the DialogBox and the Static as well can be written with SetWindowText, but the thing is that in the Static, it will be better if you use a member variable to have access to it.

In case you have problems with the static. You can always use a CEdit, disabling the rand (the square around text), making it flat and activating the write-protection. The aspect will be the same as the Static and you will have it easier.

A third possibility, is just not using the Static and just use pDC->TextOut (...). To avoid the blank square behind the letters you can use pDC->SetBkMode (TRANSPARENT);

Greetings.

--------
M.D.V. Wink | ;)

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
“The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson

Questioncan be avoided dissasembly? Pin
RomTibi3-Dec-07 9:03
RomTibi3-Dec-07 9:03 
AnswerRe: can be avoided dissasembly? Pin
Mike Dimmick3-Dec-07 14:14
Mike Dimmick3-Dec-07 14:14 
GeneralRe: can be avoided dissasembly? Pin
RomTibi4-Dec-07 8:59
RomTibi4-Dec-07 8:59 
Questioncan be avoided memory dump? Pin
RomTibi3-Dec-07 8:45
RomTibi3-Dec-07 8:45 
AnswerRe: can be avoided memory dump? Pin
David Crow3-Dec-07 10:31
David Crow3-Dec-07 10:31 
GeneralRe: can be avoided memory dump? Pin
RomTibi4-Dec-07 9:00
RomTibi4-Dec-07 9:00 
AnswerRe: can be avoided memory dump? Pin
Hamid_RT10-Apr-08 7:22
Hamid_RT10-Apr-08 7:22 
QuestionCListCtrl, view type is ICON, how to eliminate the text Pin
followait2-Dec-07 0:51
followait2-Dec-07 0:51 
QuestionGetThumbnailImage, and show it in CListCtrl Pin
followait2-Dec-07 0:27
followait2-Dec-07 0:27 
AnswerRe: GetThumbnailImage, and show it in CListCtrl Pin
followait2-Dec-07 0:47
followait2-Dec-07 0:47 
QuestionHow to add a class to a MFC Application Pin
vjasai2-Dec-07 0:26
vjasai2-Dec-07 0:26 
GeneralRe: How to add a class to a MFC Application Pin
Hamid_RT3-Dec-07 19:24
Hamid_RT3-Dec-07 19:24 
QuestionHigh frequency windows Timing - Parallel Port Pin
szymon791-Dec-07 23:48
szymon791-Dec-07 23:48 
AnswerRe: High frequency windows Timing - Parallel Port Pin
Cedric Moonen2-Dec-07 1:35
Cedric Moonen2-Dec-07 1:35 
GeneralRe: High frequency windows Timing - Parallel Port Pin
szymon792-Dec-07 1:59
szymon792-Dec-07 1:59 
Questionconvert bmp to pdf ? Pin
keyto1-Dec-07 22:31
keyto1-Dec-07 22:31 
GeneralRe: convert bmp to pdf ? Pin
bob169723-Dec-07 17:08
bob169723-Dec-07 17:08 

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.