Click here to Skip to main content
16,016,168 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralIE Standard Context Menu - Launch my app Pin
Neville Franks17-Feb-03 17:37
Neville Franks17-Feb-03 17:37 
GeneralRe: IE Standard Context Menu - Launch my app Pin
Kannan Kalyanaraman17-Feb-03 21:49
Kannan Kalyanaraman17-Feb-03 21:49 
GeneralRe: IE Standard Context Menu - Launch my app Pin
Neville Franks18-Feb-03 0:18
Neville Franks18-Feb-03 0:18 
GeneralRe: IE Standard Context Menu - Launch my app Pin
Kannan Kalyanaraman18-Feb-03 0:53
Kannan Kalyanaraman18-Feb-03 0:53 
GeneralRe: IE Standard Context Menu - Launch my app Pin
Neville Franks18-Feb-03 10:32
Neville Franks18-Feb-03 10:32 
GeneralRe: IE Standard Context Menu - Launch my app Pin
Neville Franks18-Feb-03 20:25
Neville Franks18-Feb-03 20:25 
GeneralUpdateAllViews doubt & the Percentage in Progress Bar Pin
Neel Abraham17-Feb-03 17:29
Neel Abraham17-Feb-03 17:29 
GeneralRe: UpdateAllViews doubt & the Percentage in Progress Bar Pin
jhwurmbach18-Feb-03 2:59
jhwurmbach18-Feb-03 2:59 
Neel Abraham wrote:
how will I update my view with new Bitmap using UpdateAllViews().

In your CView-derived class you have a OnUpdate()-handler. In this you do whatever your View needs to do when a new bitmap comes along. Maybe resizing etc. Your view does not hold a copy of the bitmap, instead it accesses the one inthe document, so it will at once display the new bitmap.
If you happen to have more than one message to send using UpdateAllViews(), you define some so called HINTS:
const LPARAM HintNewBitmap = 1;
const LPARAM HintTwo = 2;
and call
UpdateAllViews(NULL, HintNewBitmap, NULL);

and in your handler you switch on the Hint.

Neel Abraham wrote:
I would also like to know whether it is possible to set sizes for these child windows.

Sure. In OnSize()you can set the sizes to whatever you want before calling the Base-class with it.



My opinions may have changed, but not the fact that I am right.
GeneralSpying Serial Port Pin
Dirso17-Feb-03 16:23
Dirso17-Feb-03 16:23 
GeneralRe: Spying Serial Port Pin
Scott H. Settlemier17-Feb-03 17:54
Scott H. Settlemier17-Feb-03 17:54 
GeneralRe: Spying Serial Port Pin
Jon Hulatt17-Feb-03 21:50
Jon Hulatt17-Feb-03 21:50 
GeneralRe: Spying Serial Port Pin
Scott H. Settlemier20-Feb-03 7:09
Scott H. Settlemier20-Feb-03 7:09 
GeneralDelete a row from MSHFlexGrid Control Pin
Toni7817-Feb-03 15:37
Toni7817-Feb-03 15:37 
GeneralIgnore this message Pin
Toni7817-Feb-03 17:21
Toni7817-Feb-03 17:21 
Generaldynamic arrays of pointers Pin
brandon187917-Feb-03 14:58
brandon187917-Feb-03 14:58 
GeneralRe: dynamic arrays of pointers Pin
Nitron17-Feb-03 15:06
Nitron17-Feb-03 15:06 
GeneralRe: dynamic arrays of pointers Pin
Michael Dunn17-Feb-03 19:25
sitebuilderMichael Dunn17-Feb-03 19:25 
QuestionPostMessage or SendMessage?? Pin
Nitron17-Feb-03 14:26
Nitron17-Feb-03 14:26 
AnswerRe: PostMessage or SendMessage?? Pin
Chintan17-Feb-03 18:47
Chintan17-Feb-03 18:47 
GeneralRe: PostMessage or SendMessage?? Pin
Pater17-Feb-03 22:24
Pater17-Feb-03 22:24 
GeneralRe: PostMessage or SendMessage?? Pin
Nitron18-Feb-03 3:15
Nitron18-Feb-03 3:15 
GeneralRe: PostMessage or SendMessage?? Pin
Nitron18-Feb-03 3:14
Nitron18-Feb-03 3:14 
QuestionBug in CRichEdit? Pin
Miguel Lopes17-Feb-03 13:20
Miguel Lopes17-Feb-03 13:20 
Questionhow to get the url under a link Pin
goldcreator17-Feb-03 12:47
goldcreator17-Feb-03 12:47 
AnswerRe: how to get the url under a link Pin
Neville Franks17-Feb-03 17:29
Neville Franks17-Feb-03 17:29 

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.