Click here to Skip to main content
15,912,665 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generala problem on playing metafile under win98 Pin
G.Richard16-Sep-01 16:02
G.Richard16-Sep-01 16:02 
GeneralRe: a problem on playing metafile under win98 Pin
Christian Graus16-Sep-01 16:05
protectorChristian Graus16-Sep-01 16:05 
QuestionCreate Device Context with arbitrary resolution? Pin
Bill Lear16-Sep-01 15:51
Bill Lear16-Sep-01 15:51 
GeneralDrawing in CRichEditView Pin
16-Sep-01 12:55
suss16-Sep-01 12:55 
GeneralExporting & Importing to DLL file Pin
Robert Buldoc16-Sep-01 12:05
Robert Buldoc16-Sep-01 12:05 
GeneralRe: Exporting & Importing to DLL file Pin
Tomasz Sowinski17-Sep-01 0:12
Tomasz Sowinski17-Sep-01 0:12 
GeneralRe: Exporting & Importing to DLL file Pin
Oscar Vazquez17-Sep-01 9:06
Oscar Vazquez17-Sep-01 9:06 
Generalmaximize/restore buttons Pin
pmrainer16-Sep-01 9:42
pmrainer16-Sep-01 9:42 
Hello!

I have a great problem.
I have done a view showing a bitmap.
The view always fits the size of the
bitmap. In the case, that the view
is smaller than the bitmap, scrollbars
are shown to scroll over the bitmap.
Now I want to implement the maximize
functionality that way, that pushing
the maximize button expands the view
to fit the bitmap only, but not to the
size of the mainframe window. How can
I implement this functionality. I already
catched the corresponding messages in
OnSysCommand and I can resize the view
to fit the bitmap, but I can not change
the maximize button to the restore button.

Is anyone out there who can help?

Many thanks in advance.

Peter
from Vienna



pmrainer
GeneralRe: maximize/restore buttons Pin
Christian Graus16-Sep-01 12:18
protectorChristian Graus16-Sep-01 12:18 
GeneralRe: maximize/restore buttons Pin
Tomasz Sowinski17-Sep-01 0:23
Tomasz Sowinski17-Sep-01 0:23 
QuestionAccessing single Doc class from 2 different View classes? Pin
16-Sep-01 9:13
suss16-Sep-01 9:13 
AnswerRe: Accessing single Doc class from 2 different View classes? Pin
Tomasz Sowinski16-Sep-01 23:58
Tomasz Sowinski16-Sep-01 23:58 
GeneralBuffer Pin
16-Sep-01 8:20
suss16-Sep-01 8:20 
GeneralRe: Buffer Pin
Anders Molin16-Sep-01 9:02
professionalAnders Molin16-Sep-01 9:02 
GeneralRe: Buffer Pin
Tim Smith16-Sep-01 9:08
Tim Smith16-Sep-01 9:08 
GeneralAdvance UI in VC++ Pin
16-Sep-01 7:11
suss16-Sep-01 7:11 
GeneralRe: Advance UI in VC++ Pin
Michael P Butler17-Sep-01 2:16
Michael P Butler17-Sep-01 2:16 
Questionhow to deal with the LNK2001 error? Pin
Jeason Zhao16-Sep-01 5:47
Jeason Zhao16-Sep-01 5:47 
AnswerRe: how to deal with the LNK2001 error? Pin
Tim Smith16-Sep-01 7:51
Tim Smith16-Sep-01 7:51 
GeneralRe: how to deal with the LNK2001 error? Pin
Jeason Zhao16-Sep-01 15:59
Jeason Zhao16-Sep-01 15:59 
GeneralLong File Name Pin
The_Server16-Sep-01 4:34
The_Server16-Sep-01 4:34 
GeneralRe: Long File Name Pin
Tomasz Sowinski17-Sep-01 1:00
Tomasz Sowinski17-Sep-01 1:00 
GeneralRe: Long File Name Pin
The_Server18-Sep-01 7:57
The_Server18-Sep-01 7:57 
GeneralChecking for IP address / like Pinging HELP!!!! Pin
16-Sep-01 4:20
suss16-Sep-01 4:20 
GeneralRe: Checking for IP address / like Pinging HELP!!!! Pin
Anders Molin16-Sep-01 9:08
professionalAnders Molin16-Sep-01 9:08 

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.