Click here to Skip to main content
15,899,026 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: unresizable dialog Pin
Chris Losinger20-Jun-02 15:44
professionalChris Losinger20-Jun-02 15:44 
GeneralUnhandled exception when filling up bmiColors property in BITMAPINFO Pin
redeemer20-Jun-02 13:48
redeemer20-Jun-02 13:48 
GeneralRe: Unhandled exception when filling up bmiColors property in BITMAPINFO Pin
Christian Graus20-Jun-02 14:35
protectorChristian Graus20-Jun-02 14:35 
GeneralRe: Unhandled exception when filling up bmiColors property in BITMAPINFO Pin
Chris Losinger20-Jun-02 15:18
professionalChris Losinger20-Jun-02 15:18 
QuestionWHat do i do when a struct requires a "RGBQUAD [1]" type? Pin
redeemer20-Jun-02 12:44
redeemer20-Jun-02 12:44 
AnswerRe: WHat do i do when a struct requires a "RGBQUAD [1]" type? Pin
20-Jun-02 12:54
suss20-Jun-02 12:54 
AnswerRe: WHat do i do when a struct requires a "RGBQUAD [1]" type? Pin
Joaquín M López Muñoz20-Jun-02 12:54
Joaquín M López Muñoz20-Jun-02 12:54 
GeneralMDI windows - using FileNew and FileOpen Pin
20-Jun-02 12:20
suss20-Jun-02 12:20 
Hello,

I don't know if someone could help me with this, but if they could I would very much appreciate it. I created a very basic MDI application to let me open Bitmaps. So that works fine. I click Open, select a bitmap, voila, my Bitmap appears!Cool | :cool:

But, when I start this program, it comes with one blank window open. If I decide to close this window (or if at any time I decide to close all windows) and have no windows open, I encounter a problem I'd like to fix. If I hit Open, and select a Bitmap, it opens a new window, but no bitmap appears. It is simply a blank window. I want the bitmap I had chosen to appear.

I tried to use OnFileNew, or even CWinApp::OnFileNew, but it tells me these methods are protected. If I take them out of protected and make them public, funny enough, it STILL says they are protected. I am sure that making them public instead of protected is the wrong way to do this, but I am currently out of ideas.

If anyone knows how to make file->open open a new window as well, I'd really like to know how you do it.

Thanks a whole lot,

Nick One

Big Grin | :-D
GeneralRe: MDI windows - using FileNew and FileOpen Pin
Christian Graus20-Jun-02 12:25
protectorChristian Graus20-Jun-02 12:25 
GeneralRe: MDI windows - using FileNew and FileOpen Pin
Roger Allen20-Jun-02 23:30
Roger Allen20-Jun-02 23:30 
GeneralAbout Dialogs Pin
20-Jun-02 11:40
suss20-Jun-02 11:40 
GeneralRe: About Dialogs Pin
Joaquín M López Muñoz20-Jun-02 11:51
Joaquín M López Muñoz20-Jun-02 11:51 
GeneralRe: About Dialogs Pin
Dana Holt20-Jun-02 11:52
Dana Holt20-Jun-02 11:52 
GeneralRe: About Dialogs Pin
Ravi Bhavnani20-Jun-02 15:51
professionalRavi Bhavnani20-Jun-02 15:51 
QuestionSo, did anyone here figured how to send emails if the SMTP server requires authentication? Pin
20-Jun-02 11:40
suss20-Jun-02 11:40 
AnswerRe: So, did anyone here figured how to send emails if the SMTP server requires authentication? Pin
Anders Molin20-Jun-02 12:24
professionalAnders Molin20-Jun-02 12:24 
GeneralRe: So, did anyone here figured how to send emails if the SMTP server requires authentication? Pin
Abin20-Jun-02 15:42
Abin20-Jun-02 15:42 
GeneralRe: So, did anyone here figured how to send emails if the SMTP server requires authentication? Pin
Ravi Bhavnani20-Jun-02 15:53
professionalRavi Bhavnani20-Jun-02 15:53 
GeneralRe: So, did anyone here figured how to send emails if the SMTP server requires authentication? Pin
Anders Molin21-Jun-02 5:44
professionalAnders Molin21-Jun-02 5:44 
AnswerRe: So, did anyone here figured how to send emails if the SMTP server requires authentication? Pin
Nish Nishant20-Jun-02 12:32
sitebuilderNish Nishant20-Jun-02 12:32 
GeneralRe: So, did anyone here figured how to send emails if the SMTP server requires authentication? Pin
Anders Molin21-Jun-02 5:45
professionalAnders Molin21-Jun-02 5:45 
Generalexception handling w/ Variants Pin
Paul M Watt20-Jun-02 11:30
mentorPaul M Watt20-Jun-02 11:30 
GeneralRe: exception handling w/ Variants Pin
Rama Krishna Vavilala20-Jun-02 11:34
Rama Krishna Vavilala20-Jun-02 11:34 
GeneralRe: exception handling w/ Variants Pin
Paul M Watt20-Jun-02 11:39
mentorPaul M Watt20-Jun-02 11:39 
GeneralRe: exception handling w/ Variants Pin
Joaquín M López Muñoz20-Jun-02 11:49
Joaquín M López Muñoz20-Jun-02 11:49 

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.