Click here to Skip to main content
16,004,944 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: flicker free drawing Pin
LittleYellowBird22-Sep-03 5:40
LittleYellowBird22-Sep-03 5:40 
Questioncrystal report at runtime? Pin
murali_utr22-Sep-03 3:05
murali_utr22-Sep-03 3:05 
GeneralRGB to long Pin
Shah Shehpori22-Sep-03 2:44
sussShah Shehpori22-Sep-03 2:44 
GeneralRe: RGB to long Pin
Mike Dimmick22-Sep-03 2:51
Mike Dimmick22-Sep-03 2:51 
GeneralRe: RGB to long Pin
David Crow22-Sep-03 3:02
David Crow22-Sep-03 3:02 
GeneralRe: RGB to long Pin
JWood22-Sep-03 3:36
JWood22-Sep-03 3:36 
GeneralRe: RGB to long Pin
Abin22-Sep-03 15:39
Abin22-Sep-03 15:39 
GeneralDrawFrameControl question Pin
YaronNir22-Sep-03 2:10
YaronNir22-Sep-03 2:10 
Hi all,

i am using OnNCPaint() method to draw my own title bar, in order to give it a closing button, i am using this line of code:

dc.DrawFrameControl(closeRect,DFC_CAPTION,DFCS_ADJUSTRECT | DFCS_CAPTIONCLOSE);


where dc is the Device Context handler, and closeRect is the rectangle for the closing button.......

I can see the new title bar and closing button also. the problem is , i want to have a closing button as if my dialog is a tool window this means much smaller closing button.........

can any1 help me to fix?

thanks in advanced,

Yaron

Ask not what your application can do for you,
Ask what you can do for your application
GeneralSendMessage(VK_SHIFT????) Pin
doplay22-Sep-03 2:09
doplay22-Sep-03 2:09 
GeneralRe: SendMessage(VK_SHIFT????) Pin
Mike Dimmick22-Sep-03 2:55
Mike Dimmick22-Sep-03 2:55 
GeneralAdvice on skewed ::StretchBlt()-ed image Pin
Johann Gerell22-Sep-03 1:56
Johann Gerell22-Sep-03 1:56 
GeneralRe: Advice on skewed ::StretchBlt()-ed image Pin
Chris Losinger22-Sep-03 2:00
professionalChris Losinger22-Sep-03 2:00 
GeneralSOLVED! Pin
Johann Gerell22-Sep-03 22:44
Johann Gerell22-Sep-03 22:44 
GeneralRe: Advice on skewed ::StretchBlt()-ed image Pin
JWood22-Sep-03 3:40
JWood22-Sep-03 3:40 
GeneralRe: Advice on skewed ::StretchBlt()-ed image Pin
JWood22-Sep-03 3:42
JWood22-Sep-03 3:42 
GeneralRe: Advice on skewed ::StretchBlt()-ed image Pin
Johann Gerell22-Sep-03 22:36
Johann Gerell22-Sep-03 22:36 
GeneralRe: Advice on skewed ::StretchBlt()-ed image Pin
Anonymous23-Sep-03 2:40
Anonymous23-Sep-03 2:40 
GeneralI got some strange behaviors. ( VS2003 vs VS6 ) Pin
Mathias S.22-Sep-03 1:54
Mathias S.22-Sep-03 1:54 
Generaluse PDF printer as the default printer Pin
harshsingh21-Sep-03 22:12
harshsingh21-Sep-03 22:12 
GeneralRe: use PDF printer as the default printer Pin
Dangleberry22-Sep-03 0:08
sussDangleberry22-Sep-03 0:08 
GeneralRe: use PDF printer as the default printer Pin
harshsingh22-Sep-03 2:08
harshsingh22-Sep-03 2:08 
GeneralRe: use PDF printer as the default printer (long) Pin
Roger Allen22-Sep-03 4:34
Roger Allen22-Sep-03 4:34 
Generaladf Pin
Anonymous21-Sep-03 21:52
Anonymous21-Sep-03 21:52 
GeneralRe: adf Pin
r i s h a b h s21-Sep-03 23:28
r i s h a b h s21-Sep-03 23:28 
GeneralRe: adf Pin
Dangleberry22-Sep-03 0:06
sussDangleberry22-Sep-03 0:06 

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.