Click here to Skip to main content
15,925,369 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Why MFC makes ctor as protected? Pin
Erik Funkenbusch4-Dec-01 9:50
Erik Funkenbusch4-Dec-01 9:50 
AnswerRe: Why MFC makes ctor as protected? Pin
Ravi Bhavnani4-Dec-01 10:05
professionalRavi Bhavnani4-Dec-01 10:05 
GeneralSaving barstate of a CFrameWnd Pin
User 98853-Dec-01 12:36
User 98853-Dec-01 12:36 
GeneralRe: Saving barstate of a CFrameWnd Pin
Christian Graus3-Dec-01 14:43
protectorChristian Graus3-Dec-01 14:43 
GeneralThread safe STL vector Pin
orcun colak3-Dec-01 11:21
orcun colak3-Dec-01 11:21 
GeneralRe: Thread safe STL vector Pin
Todd Smith3-Dec-01 11:37
Todd Smith3-Dec-01 11:37 
GeneralRe: Thread safe STL vector Pin
orcun colak4-Dec-01 7:06
orcun colak4-Dec-01 7:06 
GeneralWM_GETMINMAXINFO Pin
Christian Graus3-Dec-01 11:19
protectorChristian Graus3-Dec-01 11:19 
I handle this message in my Win32 app, in order to not allow the user to size the window below the width of my tool area, which is variable, and to not allow sizing the floating tool window below the width of one button (alsovariable ), plus slider if necessary.

This worked fine up until a day or so ago. That is to say I noticed yesterday that it stopped working at some point. Now the minimum width is always 100 for all windows, no matter what. I've tried hard coded values in WM_GETMINMAXINFO, but they only work if they are greater than 100. Any width less than 100 seems to clamp to 100, and I don't know why.



Christian

After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001

Sonork ID 100.10002:MeanManOz
I live in Bob's HungOut now

GeneralRe: WM_GETMINMAXINFO Pin
4-Dec-01 2:43
suss4-Dec-01 2:43 
GeneralService and Sockets - Naughter Pin
sassiecode3-Dec-01 10:52
sassiecode3-Dec-01 10:52 
GeneralMFC DLL Pin
shadowplayer3-Dec-01 10:28
shadowplayer3-Dec-01 10:28 
GeneralFile I/O in C++ Pin
Nick Parker3-Dec-01 8:38
protectorNick Parker3-Dec-01 8:38 
GeneralRe: File I/O in C++ Pin
Erik Funkenbusch3-Dec-01 9:00
Erik Funkenbusch3-Dec-01 9:00 
GeneralRe: File I/O in C++ Pin
Nick Parker3-Dec-01 9:15
protectorNick Parker3-Dec-01 9:15 
GeneralRe: File I/O in C++ Pin
Joshua Guy3-Dec-01 10:06
Joshua Guy3-Dec-01 10:06 
GeneralSystem tray icon... Pin
3-Dec-01 8:11
suss3-Dec-01 8:11 
GeneralRe: System tray icon... Pin
Rickard Andersson203-Dec-01 10:54
Rickard Andersson203-Dec-01 10:54 
Generalcatch (...) Pin
Bill Wilson3-Dec-01 7:53
Bill Wilson3-Dec-01 7:53 
GeneralRe: catch (...) Pin
3-Dec-01 8:15
suss3-Dec-01 8:15 
GeneralRe: catch (...) Pin
Ganesh Ramaswamy3-Dec-01 8:26
Ganesh Ramaswamy3-Dec-01 8:26 
GeneralRe: catch (...) Pin
Joaquín M López Muñoz3-Dec-01 8:28
Joaquín M López Muñoz3-Dec-01 8:28 
GeneralRe: catch (...) Pin
Bill Wilson3-Dec-01 10:44
Bill Wilson3-Dec-01 10:44 
GeneralRe: catch (...) Pin
Alvaro Mendez3-Dec-01 11:40
Alvaro Mendez3-Dec-01 11:40 
GeneralRe: catch (...) Pin
Bill Wilson3-Dec-01 13:01
Bill Wilson3-Dec-01 13:01 
GeneralErrors with conversion of unsigned char [] to const char * Pin
Jason Hihn3-Dec-01 7:29
Jason Hihn3-Dec-01 7:29 

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.