Click here to Skip to main content
16,006,564 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRead line per line using CFile object Pin
Atlence6-Apr-02 23:42
Atlence6-Apr-02 23:42 
GeneralRe: Read line per line using CFile object Pin
Christian Graus6-Apr-02 23:55
protectorChristian Graus6-Apr-02 23:55 
GeneralRe: Read line per line using CFile object Pin
Nish Nishant7-Apr-02 0:08
sitebuilderNish Nishant7-Apr-02 0:08 
QuestionHow to save drawings in the window to file in format of '.bmp' or '.jpg',etc? Pin
mzt6-Apr-02 23:11
mzt6-Apr-02 23:11 
AnswerRe: How to save drawings in the window to file in format of '.bmp' or '.jpg',etc? Pin
Wolfram Steinke6-Apr-02 23:35
Wolfram Steinke6-Apr-02 23:35 
AnswerRe: How to save drawings in the window to file in format of '.bmp' or '.jpg',etc? Pin
Christian Graus6-Apr-02 23:53
protectorChristian Graus6-Apr-02 23:53 
QuestionDoes how making the window size be more than certain value ,but not twinkle? Pin
mzt6-Apr-02 23:02
mzt6-Apr-02 23:02 
AnswerRe: Does how making the window size be more than certain value ,but not twinkle? Pin
Paul M Watt7-Apr-02 7:13
mentorPaul M Watt7-Apr-02 7:13 
I would try doing this in the OnSizing message instead. OnSize occurs after the window has been sized. OnSizing occurs right before the window will be resized.

If the effect that you are trying to create is to make sure that a window can be no less than a certain size, then you will actually want to handle the WM_GETMINMAXINFO message. This will allow you to set the max and min dimensions of you window. Then when the user tries to resize the window, they will not be able to drag the border past the dimensions that you have specified.


Checkout my Guide to Win32 Paint for Intermediates
GeneralLow-Level CD access Pin
Hyien6-Apr-02 22:08
Hyien6-Apr-02 22:08 
GeneralMFC text box flicker Pin
ejw6-Apr-02 15:05
ejw6-Apr-02 15:05 
GeneralRe: MFC text box flicker Pin
Shog96-Apr-02 15:51
sitebuilderShog96-Apr-02 15:51 
GeneralRe: MFC text box flicker Pin
ejw6-Apr-02 16:09
ejw6-Apr-02 16:09 
GeneralRe: MFC text box flicker Pin
Nish Nishant6-Apr-02 16:38
sitebuilderNish Nishant6-Apr-02 16:38 
GeneralRe: MFC text box flicker [oops] Pin
Nish Nishant6-Apr-02 16:39
sitebuilderNish Nishant6-Apr-02 16:39 
GeneralRe: MFC text box flicker [oops] Pin
Shog96-Apr-02 18:33
sitebuilderShog96-Apr-02 18:33 
GeneralRe: MFC text box flicker [oops] Pin
Nish Nishant6-Apr-02 18:46
sitebuilderNish Nishant6-Apr-02 18:46 
GeneralRe: MFC text box flicker [oops] Pin
Shog96-Apr-02 18:43
sitebuilderShog96-Apr-02 18:43 
GeneralRe: MFC text box flicker Pin
Shog96-Apr-02 18:29
sitebuilderShog96-Apr-02 18:29 
GeneralRe: MFC text box flicker Pin
ejw6-Apr-02 18:56
ejw6-Apr-02 18:56 
QuestionCan we get extended info from RAS Connection Pin
Tili6-Apr-02 13:22
Tili6-Apr-02 13:22 
GeneralSending a file over socket Pin
Rickard Andersson206-Apr-02 10:27
Rickard Andersson206-Apr-02 10:27 
GeneralRe: Sending a file over socket Pin
Nish Nishant6-Apr-02 14:57
sitebuilderNish Nishant6-Apr-02 14:57 
GeneralRe: Sending a file over socket Pin
Rickard Andersson207-Apr-02 0:27
Rickard Andersson207-Apr-02 0:27 
GeneralRe: Sending a file over socket Pin
6-Apr-02 15:37
suss6-Apr-02 15:37 
GeneralRe: Sending a file over socket Pin
Nish Nishant6-Apr-02 16:36
sitebuilderNish Nishant6-Apr-02 16:36 

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.