Click here to Skip to main content
15,919,931 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
QuestionHow to use SetThreadLocale on Win98 system Pin
GanescuC3-Feb-05 1:35
GanescuC3-Feb-05 1:35 
QuestionATL ActiveX - How to create the own Property Page? Pin
out_of_life3-Feb-05 0:04
out_of_life3-Feb-05 0:04 
AnswerRe: ATL ActiveX - How to create the own Property Page? Pin
out_of_life4-Feb-05 1:55
out_of_life4-Feb-05 1:55 
GeneralCComPtr::Advise Pin
grinder2-Feb-05 21:38
grinder2-Feb-05 21:38 
GeneralRe: CComPtr::Advise Pin
geo_m8-Feb-05 9:47
geo_m8-Feb-05 9:47 
GeneralATL : Setting Font Pin
tnguyen4442-Feb-05 6:03
tnguyen4442-Feb-05 6:03 
GeneralRe: ATL : Setting Font Pin
tnguyen4442-Feb-05 6:30
tnguyen4442-Feb-05 6:30 
GeneralRe: ATL : Setting Font Pin
ThatsAlok2-Feb-05 6:41
ThatsAlok2-Feb-05 6:41 
Tell me it look like this MFC question and you have posted it in worng Forum.

any way if it MFC you can use CFont and it member function i.e. (CreateFont) to create your own font.

or you can directly use Win32Api function CreateFont to create your own font and set in the static Ctrl.

here is small code listing for your problem
CFont fnt;
fnt.CreateFont(12,0,0,0,FW_BOLD,FALSE,FALSE,FALSE,
                DEFAULT_CHARSET,OUT_DEFAULT_PRECIS,
                CLIP_DEFAULT_PRECIS,DEFAULT_QUALITY,
                 DEFAULT_PITCH ,"Arial");

//now set the font of your control
m_TextWindow.SetFont(&fnt);



"I Think this Will Help"
<h5
alok="" gupta="" <br=""> visit me at http://www.thisisalok.tk

GeneralRe: ATL : Setting Font Pin
Jörgen Sigvardsson7-Feb-05 9:00
Jörgen Sigvardsson7-Feb-05 9:00 
GeneralRe: ATL : Setting Font Pin
ThatsAlok7-Feb-05 15:51
ThatsAlok7-Feb-05 15:51 
GeneralATL COM Pin
surend2k1-Feb-05 19:20
surend2k1-Feb-05 19:20 
GeneralRe: ATL COM Pin
conman1101-Feb-05 20:27
conman1101-Feb-05 20:27 
GeneralRe: ATL COM Pin
vishalmore7-Feb-05 20:30
vishalmore7-Feb-05 20:30 
GeneralRe: ATL COM Pin
vishalmore8-Feb-05 2:58
vishalmore8-Feb-05 2:58 
GeneralSTL Vector sort, memory corruption Pin
Ron Arnan1-Feb-05 10:50
Ron Arnan1-Feb-05 10:50 
GeneralRe: STL Vector sort, memory corruption Pin
Joaquín M López Muñoz2-Feb-05 2:28
Joaquín M López Muñoz2-Feb-05 2:28 
GeneralRe: STL Vector sort, memory corruption Pin
Ron Arnan2-Feb-05 3:55
Ron Arnan2-Feb-05 3:55 
GeneralRe: STL Vector sort, memory corruption Pin
Jörgen Sigvardsson2-Feb-05 10:57
Jörgen Sigvardsson2-Feb-05 10:57 
GeneralRe: STL Vector sort, memory corruption Pin
Joaquín M López Muñoz2-Feb-05 21:59
Joaquín M López Muñoz2-Feb-05 21:59 
GeneralWTL work around WM_NOTIFY Pin
conman1101-Feb-05 7:03
conman1101-Feb-05 7:03 
GeneralEnvDTE::Document.Open returns null Pin
JabraJabra1-Feb-05 6:12
JabraJabra1-Feb-05 6:12 
Generalget project full name Pin
JabraJabra1-Feb-05 2:49
JabraJabra1-Feb-05 2:49 
GeneralTBN_DROPDOWN : Problems with dropdown button in ATL Pin
tnguyen44431-Jan-05 10:16
tnguyen44431-Jan-05 10:16 
GeneralRe: TBN_DROPDOWN : Problems with dropdown button in ATL Pin
Michael Dunn31-Jan-05 11:14
sitebuilderMichael Dunn31-Jan-05 11:14 
GeneralCstring with ATL Pin
JabraJabra31-Jan-05 4:24
JabraJabra31-Jan-05 4:24 

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.