Click here to Skip to main content
15,893,487 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: tAB CONTROL Pin
Joan M17-Jun-03 21:40
professionalJoan M17-Jun-03 21:40 
GeneralRe: tAB CONTROL Pin
vcseeker18-Jun-03 1:41
vcseeker18-Jun-03 1:41 
GeneralProblem with displaying images Pin
Franz Klein16-Jun-03 1:10
Franz Klein16-Jun-03 1:10 
GeneralLint-like .h-file tool Pin
Gisle Vanem16-Jun-03 0:12
Gisle Vanem16-Jun-03 0:12 
GeneralRe: Lint-like .h-file tool Pin
Franz Klein16-Jun-03 0:41
Franz Klein16-Jun-03 0:41 
GeneralRe: Lint-like .h-file tool Pin
Ryan Binns16-Jun-03 1:10
Ryan Binns16-Jun-03 1:10 
GeneralRe: Lint-like .h-file tool Pin
Gisle Vanem16-Jun-03 1:40
Gisle Vanem16-Jun-03 1:40 
GeneralFont in dynamically created tab control Pin
roel_15-Jun-03 23:44
roel_15-Jun-03 23:44 
Hi,
I've got a tab control that I created dynamically, like this:

m_TabCtrl.Create(TCS_TABS | TCS_MULTILINE | WS_CHILD | WS_VISIBLE, CRect(0, 0, 0, 0), this, 123)) {

Somewhere else I resize the tab to the size it needs to be. I add some items to the tab control, that's all fine; the problem is that the font is wrong. It's the default system font, the one you get when you run out of GDI resources. I've been trying to use SetFont() on the tab control, but that doesn't make any difference. How should I go about it? All other controls use the right font; can I copy it from there and set it on my tab control? Should I use GetFont/SetFont for that, or the LOGFONT that I can get through GetFont? I'm offically confused now WTF | :WTF:

Thanks in advance.

cheers
GeneralRe: Font in dynamically created tab control Pin
rtortora16-Jun-03 2:39
rtortora16-Jun-03 2:39 
GeneralRe: Font in dynamically created tab control Pin
roel_16-Jun-03 3:17
roel_16-Jun-03 3:17 
GeneralCopy binary file Pin
JensB15-Jun-03 23:27
JensB15-Jun-03 23:27 
GeneralRe: Copy binary file Pin
peterchen15-Jun-03 23:32
peterchen15-Jun-03 23:32 
GeneralRe: Copy binary file Pin
JensB15-Jun-03 23:36
JensB15-Jun-03 23:36 
GeneralRe: Copy binary file Pin
peterchen15-Jun-03 23:45
peterchen15-Jun-03 23:45 
GeneralRe: Copy binary file Pin
JensB15-Jun-03 23:50
JensB15-Jun-03 23:50 
GeneralRe: Copy binary file Pin
peterchen15-Jun-03 23:52
peterchen15-Jun-03 23:52 
GeneralRe: Copy binary file Pin
Ryan Binns16-Jun-03 1:08
Ryan Binns16-Jun-03 1:08 
GeneralRe: Copy binary file Pin
peterchen16-Jun-03 1:15
peterchen16-Jun-03 1:15 
GeneralRe: Copy binary file Pin
David Crow16-Jun-03 3:36
David Crow16-Jun-03 3:36 
GeneralIs there any way to reduce the size of a JPEG using IPicture? and example using SaveAsFile function Pin
jcpooh15-Jun-03 23:00
jcpooh15-Jun-03 23:00 
GeneralAsynchronous http connection Pin
no_body6915-Jun-03 22:36
no_body6915-Jun-03 22:36 
QuestionCTreeCtrl SetCheck ? How to check?? Pin
rohit.dhamija15-Jun-03 22:06
rohit.dhamija15-Jun-03 22:06 
AnswerRe: CTreeCtrl SetCheck ? How to check?? Pin
Rage15-Jun-03 23:06
professionalRage15-Jun-03 23:06 
AnswerRe: CTreeCtrl SetCheck ? How to check?? Pin
peterchen15-Jun-03 23:34
peterchen15-Jun-03 23:34 
GeneralRe: CTreeCtrl SetCheck ? How to check?? Pin
rohit.dhamija16-Jun-03 1:53
rohit.dhamija16-Jun-03 1:53 

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.