Click here to Skip to main content
15,914,160 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Modal floating controlbar Pin
Nibu babu thomas13-Nov-06 21:22
Nibu babu thomas13-Nov-06 21:22 
GeneralRe: Modal floating controlbar Pin
Nibu babu thomas14-Nov-06 16:26
Nibu babu thomas14-Nov-06 16:26 
QuestionRussian Project [modified] Pin
Hadi Dayvary4-Nov-06 23:59
professionalHadi Dayvary4-Nov-06 23:59 
AnswerRe: Russian Project Pin
A_Fa5-Nov-06 0:10
A_Fa5-Nov-06 0:10 
AnswerRe: Russian Project Pin
Waldermort5-Nov-06 0:11
Waldermort5-Nov-06 0:11 
GeneralRe: Russian Project Pin
Hadi Dayvary5-Nov-06 0:44
professionalHadi Dayvary5-Nov-06 0:44 
GeneralRe: Russian Project Pin
Waldermort5-Nov-06 1:29
Waldermort5-Nov-06 1:29 
QuestionCalculating free space Pin
Waldermort4-Nov-06 22:42
Waldermort4-Nov-06 22:42 
I'm not much of a mathematician, so hopefully somebody knows of an easy way to do what I want. Lets say we have a rectangle { 0,0,800,600 }, within that rectangle is another { 200, 200, 400, 300 }. How is it possible to calculate the position and size of the largest rectangle that can be created in the remaining space. In this case it would be { 0,300,800,600 }.

This example is very simple, I would actually have up to 10 smaller rectangles to compensate for. If you are wondering why, I want to calculate the best place to draw text in between the various child controls on a window.
AnswerRe: Calculating free space [modified] Pin
Stephen Hewitt5-Nov-06 11:47
Stephen Hewitt5-Nov-06 11:47 
GeneralRe: Calculating free space Pin
Waldermort5-Nov-06 18:09
Waldermort5-Nov-06 18:09 
GeneralRe: VC++8 (VS2005) Deriving class w/ wizard Pin
jeffbeat4-Nov-06 21:00
jeffbeat4-Nov-06 21:00 
QuestionVC++8 (VS2005) Deriving class w/ wizard Pin
jeffbeat4-Nov-06 19:26
jeffbeat4-Nov-06 19:26 
AnswerRe: VC++8 (VS2005) Deriving class w/ wizard Pin
Midworld084-Nov-06 20:27
Midworld084-Nov-06 20:27 
QuestionODBC & FOR XML expilicit command [modified] Pin
canerabali4-Nov-06 14:34
canerabali4-Nov-06 14:34 
QuestionWhy the same RASdialup functionality doesn't exist in WININET?? Pin
Benlahrech .Dj4-Nov-06 13:52
Benlahrech .Dj4-Nov-06 13:52 
QuestionCustomising the title bar Pin
Sydes4-Nov-06 10:26
Sydes4-Nov-06 10:26 
AnswerRe: Customising the title bar Pin
Waldermort4-Nov-06 11:14
Waldermort4-Nov-06 11:14 
GeneralRe: Customising the title bar Pin
Sydes4-Nov-06 14:41
Sydes4-Nov-06 14:41 
Questionapplication configuration is incorrect Pin
edvintas4-Nov-06 8:00
edvintas4-Nov-06 8:00 
AnswerRe: application configuration is incorrect Pin
Waldermort4-Nov-06 8:31
Waldermort4-Nov-06 8:31 
AnswerRe: application configuration is incorrect Pin
Mark Salsbery4-Nov-06 8:36
Mark Salsbery4-Nov-06 8:36 
GeneralRe: application configuration is incorrect Pin
edvintas4-Nov-06 9:45
edvintas4-Nov-06 9:45 
GeneralRe: application configuration is incorrect Pin
Waldermort4-Nov-06 10:14
Waldermort4-Nov-06 10:14 
GeneralRe: application configuration is incorrect Pin
edvintas4-Nov-06 10:46
edvintas4-Nov-06 10:46 
GeneralRe: application configuration is incorrect Pin
David Crow5-Nov-06 6:37
David Crow5-Nov-06 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.