Click here to Skip to main content
15,903,201 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRecommended Books for STL Pin
Joe Woodbury14-Sep-02 18:41
professionalJoe Woodbury14-Sep-02 18:41 
GeneralRe: Recommended Books for STL Pin
Paul M Watt14-Sep-02 20:55
mentorPaul M Watt14-Sep-02 20:55 
GeneralRe: Recommended Books for STL Pin
Pavel Klocek14-Sep-02 21:43
Pavel Klocek14-Sep-02 21:43 
GeneralRe: Recommended Books for STL Pin
Stuart Dootson14-Sep-02 22:27
professionalStuart Dootson14-Sep-02 22:27 
GeneralRe: Recommended Books for STL Pin
Christian Graus15-Sep-02 13:09
protectorChristian Graus15-Sep-02 13:09 
GeneralRe: Recommended Books for STL Pin
DaveBrooks26-Sep-02 11:02
DaveBrooks26-Sep-02 11:02 
GeneralRe: Recommended Books for STL Pin
Joe Woodbury26-Sep-02 12:18
professionalJoe Woodbury26-Sep-02 12:18 
GeneralOwner-drawn menus in WTL Pin
TemplMetaProg14-Sep-02 11:11
TemplMetaProg14-Sep-02 11:11 
I'm trying to implement owner-drawn menus in wtl 7.0. Unfortunately, I cannot determine the standard size of menu items.

My first attempt was

pms->itemHeight = ::GetSystemMetrics(SM_CYICON);

which didn't work. Next I tried

CFont font((HFONT)GetStockObject(DEFAULT_GUI_FONT));<br />
LOGFONT lf;<br />
font.GetLogFont(&lf);<br />
pms->itemHeigt = lf.lfHeight + 8;


which is what wtl source code led me to beleive. Unfortunately, lf.lfHeight + 8does not help and the actual value seems to be lf.lfHeight + 10. Does anyone know the correct way of doing this? Help would be much appreciated.

TemplMetaProg
GeneralRe: Owner-drawn menus in WTL Pin
Paul M Watt14-Sep-02 12:00
mentorPaul M Watt14-Sep-02 12:00 
GeneralRe: Owner-drawn menus in WTL Pin
TemplMetaProg15-Sep-02 11:24
TemplMetaProg15-Sep-02 11:24 
GeneralNew to ATL... (simple question) Pin
Alex Deem14-Sep-02 6:20
Alex Deem14-Sep-02 6:20 
GeneralRe: New to ATL... (simple question) Pin
Paul M Watt14-Sep-02 11:56
mentorPaul M Watt14-Sep-02 11:56 
GeneralRe: New to ATL... (simple question) Pin
Alex Deem15-Sep-02 5:11
Alex Deem15-Sep-02 5:11 
GeneralAttempting to use the Chris Mauder MFC Grid in an ATL Composite Control Pin
petrym9-Sep-02 10:52
petrym9-Sep-02 10:52 
GeneralMSMQEvent Pin
rajeev9-Sep-02 0:30
rajeev9-Sep-02 0:30 
Generallooking for hex->decimal editor Pin
rsasalm_6-Sep-02 4:04
rsasalm_6-Sep-02 4:04 
GeneralRe: looking for hex->decimal editor Pin
rsasalm_6-Sep-02 4:15
rsasalm_6-Sep-02 4:15 
GeneralStop and Start Web Server running COM Component Pin
Kevin McFarlane6-Sep-02 1:47
Kevin McFarlane6-Sep-02 1:47 
GeneralRe: Stop and Start Web Server running COM Component Pin
Alexandru Savescu6-Sep-02 4:04
Alexandru Savescu6-Sep-02 4:04 
GeneralRe: Stop and Start Web Server running COM Component Pin
Kevin McFarlane6-Sep-02 7:18
Kevin McFarlane6-Sep-02 7:18 
GeneralRe: Stop and Start Web Server running COM Component Pin
Stephane Rodriguez.10-Sep-02 5:31
Stephane Rodriguez.10-Sep-02 5:31 
GeneralRe: Stop and Start Web Server running COM Component Pin
Alexandru Savescu11-Sep-02 0:41
Alexandru Savescu11-Sep-02 0:41 
GeneralIm Getting crazy... Pin
Somaa5-Sep-02 18:25
Somaa5-Sep-02 18:25 
GeneralRe: Im Getting crazy... Pin
Christian Graus5-Sep-02 19:06
protectorChristian Graus5-Sep-02 19:06 
GeneralRe: Im Getting crazy... Pin
RedZenBird27-Sep-02 8:26
RedZenBird27-Sep-02 8:26 

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.