Click here to Skip to main content
15,917,808 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Setting The Current Directory Pin
sweep12313-Jul-04 6:04
sweep12313-Jul-04 6:04 
GeneralRe: Setting The Current Directory Pin
palbano13-Jul-04 6:48
palbano13-Jul-04 6:48 
GeneralRe: Setting The Current Directory Pin
sweep12313-Jul-04 21:51
sweep12313-Jul-04 21:51 
GeneralRe: Setting The Current Directory Pin
bikram singh13-Jul-04 6:13
bikram singh13-Jul-04 6:13 
GeneralRe: Setting The Current Directory Pin
sweep12313-Jul-04 6:26
sweep12313-Jul-04 6:26 
GeneralRe: Setting The Current Directory Pin
bikram singh13-Jul-04 6:54
bikram singh13-Jul-04 6:54 
Generaltitlebar text Pin
Ahmed Kamal Aly13-Jul-04 5:35
Ahmed Kamal Aly13-Jul-04 5:35 
GeneralIntercept WM_NCPAINT Pin
bikram singh13-Jul-04 6:13
bikram singh13-Jul-04 6:13 
1. Intercept the WM_NCPAINT message for the window
2. Get the width and height of the Titlebar: see the GetSystemMetrics() function in MSDN.
3. To draw the text, use DrawText() (MSDN), and use the lpRect member to specify the rect to draw in. You would need to calculate the 3 rects needed yourself. (left,center,right)

HTH


Bikram Singh

GeneralRe: titlebar text Pin
Jens Doose13-Jul-04 6:18
Jens Doose13-Jul-04 6:18 
GeneralInstalling /uninstalling windows service Pin
vipul_vips13-Jul-04 4:36
vipul_vips13-Jul-04 4:36 
GeneralRe: Installing /uninstalling windows service Pin
jmkhael13-Jul-04 4:59
jmkhael13-Jul-04 4:59 
GeneralRe: Installing /uninstalling windows service Pin
David Crow13-Jul-04 5:28
David Crow13-Jul-04 5:28 
GeneralWindows basics Pin
Anonymous13-Jul-04 4:20
Anonymous13-Jul-04 4:20 
GeneralRe: Windows basics Pin
David Crow13-Jul-04 4:28
David Crow13-Jul-04 4:28 
Generalclistctrl variable row height Pin
maxsteel13-Jul-04 3:28
maxsteel13-Jul-04 3:28 
GeneralRe: clistctrl variable row height Pin
Ryan Binns13-Jul-04 18:30
Ryan Binns13-Jul-04 18:30 
GeneralCreate an own User Right in Windows XP Pin
Jens Doose13-Jul-04 3:14
Jens Doose13-Jul-04 3:14 
GeneralRe: Create an own User Right in Windows XP Pin
bikram singh13-Jul-04 6:28
bikram singh13-Jul-04 6:28 
GeneralMFC: frame window without caption bar Pin
Fabrizio Frassa13-Jul-04 3:01
Fabrizio Frassa13-Jul-04 3:01 
GeneralRe: MFC: frame window without caption bar Pin
David Crow13-Jul-04 3:59
David Crow13-Jul-04 3:59 
QuestionJava control in Windows app? Pin
Paul Vickery13-Jul-04 2:45
professionalPaul Vickery13-Jul-04 2:45 
AnswerRe: Java control in Windows app? Pin
V.13-Jul-04 2:49
professionalV.13-Jul-04 2:49 
AnswerRe: Java control in Windows app? Pin
palbano13-Jul-04 5:45
palbano13-Jul-04 5:45 
Generalpdf: CMYK and RGB Pin
gis13-Jul-04 2:39
gis13-Jul-04 2:39 
GeneralRe: pdf: CMYK and RGB Pin
bikram singh13-Jul-04 6:37
bikram singh13-Jul-04 6:37 

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.