Click here to Skip to main content
15,905,915 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: accessing view class object from another class Pin
KaЯl20-Nov-02 2:19
KaЯl20-Nov-02 2:19 
GeneralRe: accessing view class object from another class Pin
KarstenK20-Nov-02 2:47
mveKarstenK20-Nov-02 2:47 
GeneralRe: accessing view class object from another class Pin
Simon.W20-Nov-02 3:11
Simon.W20-Nov-02 3:11 
GeneralRe: accessing view class object from another class Pin
dan o20-Nov-02 5:50
dan o20-Nov-02 5:50 
GeneralRe: accessing view class object from another class Pin
B4u20-Nov-02 20:23
B4u20-Nov-02 20:23 
GeneralIncrease resizing border width.... Pin
Neha20-Nov-02 1:43
Neha20-Nov-02 1:43 
GeneralRe: Increase resizing border width.... Pin
RuiSantiago20-Nov-02 1:50
RuiSantiago20-Nov-02 1:50 
GeneralRe: Increase resizing border width.... Pin
Paul M Watt20-Nov-02 6:03
mentorPaul M Watt20-Nov-02 6:03 
You can do that in a number of ways.

1) you can use WM_NCCALCSIZE to recalculate the size of the client area for your window or dialog, by reducing the default size of your client area that will increase the size of the borders.

2) You can handle the WM_NCHITTEST yourself, and return the HTRIGHT, HTBOTTOM etc for all of the border cases, and increase the dimensions that count as the border. This will make all of the other default message handlers act as if the border is wider.

In either of these cases I would handle the WM_NCPAINT message in order to paint and extend the appearance of hte width of the new border that you create.


Build a man a fire, and he will be warm for a day
Light a man on fire, and he will be warm for the rest of his life!

GeneralRe: Increase resizing border width.... Pin
Neha20-Nov-02 17:39
Neha20-Nov-02 17:39 
GeneralUninstall question Pin
Jon Hulatt20-Nov-02 1:36
Jon Hulatt20-Nov-02 1:36 
GeneralRe: Uninstall question Pin
Navin20-Nov-02 2:39
Navin20-Nov-02 2:39 
GeneralRe: Uninstall question Pin
Simon.W20-Nov-02 3:27
Simon.W20-Nov-02 3:27 
GeneralRe: Uninstall question Pin
Navin20-Nov-02 7:29
Navin20-Nov-02 7:29 
GeneralRestricting mouse pointer to move Pin
suresh_sathya20-Nov-02 1:32
suresh_sathya20-Nov-02 1:32 
GeneralRe: Restricting mouse pointer to move Pin
Roger Allen20-Nov-02 2:37
Roger Allen20-Nov-02 2:37 
GeneralRe: Restricting mouse pointer to move Pin
Maximilien20-Nov-02 2:38
Maximilien20-Nov-02 2:38 
GeneralResources .rc question Pin
Braulio Dez20-Nov-02 0:26
Braulio Dez20-Nov-02 0:26 
GeneralRe: Resources .rc question Pin
RuiSantiago20-Nov-02 0:43
RuiSantiago20-Nov-02 0:43 
GeneralRe: Resources .rc question Pin
georgiek5020-Nov-02 1:41
georgiek5020-Nov-02 1:41 
GeneralRe: Resources .rc question Pin
Braulio Dez20-Nov-02 2:28
Braulio Dez20-Nov-02 2:28 
GeneralRe: Resources .rc question Pin
Braulio Dez21-Nov-02 1:08
Braulio Dez21-Nov-02 1:08 
GeneralRe: Resources .rc question Pin
georgiek5021-Nov-02 2:47
georgiek5021-Nov-02 2:47 
GeneralRe: Resources .rc question Pin
Braulio Dez21-Nov-02 2:56
Braulio Dez21-Nov-02 2:56 
Generalpainting background while resizing..... Pin
Neha19-Nov-02 23:58
Neha19-Nov-02 23:58 
GeneralRe: painting background while resizing..... Pin
Rickard Andersson2020-Nov-02 1:23
Rickard Andersson2020-Nov-02 1:23 

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.