Click here to Skip to main content
15,889,281 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Drawing on 8bpp grayscale bitmap (unmanaged) Pin
Code-o-mat1-Jul-10 5:57
Code-o-mat1-Jul-10 5:57 
QuestionShaving a section from a dialog. Pin
Spawn@Melmac29-Jun-10 4:46
Spawn@Melmac29-Jun-10 4:46 
AnswerRe: Shaving a section from a dialog. Pin
Code-o-mat29-Jun-10 5:13
Code-o-mat29-Jun-10 5:13 
GeneralRe: Shaving a section from a dialog. Pin
David Crow29-Jun-10 5:32
David Crow29-Jun-10 5:32 
GeneralRe: Shaving a section from a dialog. Pin
Code-o-mat29-Jun-10 5:34
Code-o-mat29-Jun-10 5:34 
GeneralRe: Shaving a section from a dialog. Pin
Spawn@Melmac29-Jun-10 5:51
Spawn@Melmac29-Jun-10 5:51 
GeneralRe: Shaving a section from a dialog. Pin
Code-o-mat29-Jun-10 5:58
Code-o-mat29-Jun-10 5:58 
AnswerRe: Shaving a section from a dialog. Pin
David Crow29-Jun-10 5:37
David Crow29-Jun-10 5:37 
I find the easiest way to make such a dialog is to add a hidden 1x1 static control to the dialog where the expansion will take place. In your case, you'd need two. Then when the "shrink" button is clicked, you'd shrink the dialog's left and right edges up to those hidden controls. When the "expand" button is clicked, you'd grow the dialog's left and right edges back to their original position.

"One man's wage rise is another man's price increase." - Harold Wilson

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

"Man who follows car will be exhausted." - Confucius


GeneralRe: Shaving a section from a dialog. Pin
Spawn@Melmac29-Jun-10 5:55
Spawn@Melmac29-Jun-10 5:55 
GeneralRe: Shaving a section from a dialog. Pin
David Crow29-Jun-10 6:11
David Crow29-Jun-10 6:11 
GeneralRe: Shaving a section from a dialog. Pin
Spawn@Melmac29-Jun-10 6:43
Spawn@Melmac29-Jun-10 6:43 
AnswerRe: Shaving a section from a dialog. Pin
Maximilien29-Jun-10 5:55
Maximilien29-Jun-10 5:55 
QuestionDateTime PIcker Control Pin
AbhiHcl29-Jun-10 4:43
AbhiHcl29-Jun-10 4:43 
QuestionRe: DateTime PIcker Control Pin
David Crow29-Jun-10 4:46
David Crow29-Jun-10 4:46 
AnswerRe: DateTime PIcker Control Pin
AbhiHcl29-Jun-10 19:50
AbhiHcl29-Jun-10 19:50 
GeneralRe: DateTime PIcker Control Pin
David Crow30-Jun-10 3:05
David Crow30-Jun-10 3:05 
Questionadd dailog box in dll Pin
ravichavan29-Jun-10 2:38
ravichavan29-Jun-10 2:38 
AnswerRe: add dailog box in dll Pin
Maximilien29-Jun-10 3:19
Maximilien29-Jun-10 3:19 
AnswerRe: add dailog box in dll Pin
Michael Schubert29-Jun-10 3:51
Michael Schubert29-Jun-10 3:51 
QuestionSorting CTreeCtrl Items Pin
Sakhalean29-Jun-10 2:20
Sakhalean29-Jun-10 2:20 
AnswerRe: Sorting CTreeCtrl Items Pin
Maximilien29-Jun-10 2:24
Maximilien29-Jun-10 2:24 
GeneralRe: Sorting CTreeCtrl Items Pin
Sakhalean29-Jun-10 2:28
Sakhalean29-Jun-10 2:28 
QuestionSimple Poygons(>2) union Pin
Shunya29-Jun-10 1:52
Shunya29-Jun-10 1:52 
AnswerRe: Simple Poygons(>2) union Pin
Code-o-mat29-Jun-10 3:15
Code-o-mat29-Jun-10 3:15 
GeneralRe: Simple Poygons(>2) union Pin
Shunya29-Jun-10 23:32
Shunya29-Jun-10 23:32 

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.