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

C / C++ / MFC

 
GeneralRe: Drawing on 8bpp grayscale bitmap (unmanaged) Pin
Alan Balkany29-Jun-10 8:21
Alan Balkany29-Jun-10 8:21 
GeneralRe: Drawing on 8bpp grayscale bitmap (unmanaged) Pin
Code-o-mat29-Jun-10 9:37
Code-o-mat29-Jun-10 9:37 
GeneralRe: Drawing on 8bpp grayscale bitmap (unmanaged) Pin
Code-o-mat29-Jun-10 9:46
Code-o-mat29-Jun-10 9:46 
GeneralRe: Drawing on 8bpp grayscale bitmap (unmanaged) Pin
Alan Balkany29-Jun-10 9:47
Alan Balkany29-Jun-10 9:47 
GeneralRe: Drawing on 8bpp grayscale bitmap (unmanaged) Pin
Code-o-mat29-Jun-10 9:55
Code-o-mat29-Jun-10 9:55 
GeneralRe: Drawing on 8bpp grayscale bitmap (unmanaged) Pin
Alan Balkany1-Jul-10 4:50
Alan Balkany1-Jul-10 4:50 
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 
Ok I know this is a bit of a cheat but my UI is split into 3rds with the idea being I can hide the bits of the UI.

Now I can slice off the right hand side easily enough as follows.

...
	CRect rect;
	GetWindowRect(rect);
...
		rect.right += CONSOLE_SIZE;
		MoveWindow(rect, 1);
...


The problem I am having is how do I cut the dialog's window down so that only the middle 3rd is displayed? I have had a look at CRgn with the SetWindowRgn but I am getting nowhere.

Any suggestions would be appreciated.

Many thanks
Alan

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 
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 

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.