Click here to Skip to main content
15,914,109 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: rand() Function Pin
Rage2-Feb-06 0:08
professionalRage2-Feb-06 0:08 
QuestionAsynchronous I/O using ReadFile Pin
PradeepKK1-Feb-06 23:49
PradeepKK1-Feb-06 23:49 
AnswerRe: Asynchronous I/O using ReadFile Pin
Vanting2-Feb-06 0:45
Vanting2-Feb-06 0:45 
GeneralRe: Asynchronous I/O using ReadFile Pin
PradeepKK2-Feb-06 1:18
PradeepKK2-Feb-06 1:18 
GeneralRe: Asynchronous I/O using ReadFile Pin
Iain Clarke, Warrior Programmer2-Feb-06 5:16
Iain Clarke, Warrior Programmer2-Feb-06 5:16 
QuestionHow can I intercept the "Windows" menu Pin
Jim @ JCT1-Feb-06 23:17
Jim @ JCT1-Feb-06 23:17 
AnswerRe: How can I intercept the "Windows" menu Pin
Iain Clarke, Warrior Programmer2-Feb-06 6:17
Iain Clarke, Warrior Programmer2-Feb-06 6:17 
GeneralRe: How can I intercept the "Windows" menu Pin
Jim @ JCT2-Feb-06 22:21
Jim @ JCT2-Feb-06 22:21 
The problem we are attacking is to do with the fact that our document format saves the positions of the child windows. Our application is a traffic engineering program and it uses a lot of different views, each in a child window. For this reason we recommend our users to use a dual-monitor system.
We want to deal with a posible situation where a user is running on a two monitor system and passes a file to a user with only one: some of the windows could disappear off screen. We cannot make them reposition when they get the focus as the user may wish to move the window off screen for a few moments while they are working and we don't want windows jumping about all over the place.
We just want the windows to reposition when the user activates the window... so this is why we want to intercept the 'Windows' menu.

Thanks for your reply, I'll take a look at using CFrameWnd::OnMenuSelect and see if I can make that work.

Thanks!
Jim
GeneralRe: How can I intercept the "Windows" menu Pin
Iain Clarke, Warrior Programmer3-Feb-06 0:33
Iain Clarke, Warrior Programmer3-Feb-06 0:33 
GeneralRe: How can I intercept the "Windows" menu Pin
Jim @ JCT13-Feb-06 3:16
Jim @ JCT13-Feb-06 3:16 
Questionasking............ Pin
shazzney1-Feb-06 23:14
shazzney1-Feb-06 23:14 
AnswerRe: asking............ Pin
RChin1-Feb-06 23:20
RChin1-Feb-06 23:20 
QuestionHow to extract plain text from a url or a html document? Pin
shertay1-Feb-06 21:02
shertay1-Feb-06 21:02 
AnswerRe: How to extract plain text from a url or a html document? Pin
Stephen Hewitt1-Feb-06 21:28
Stephen Hewitt1-Feb-06 21:28 
GeneralRe: How to extract plain text from a url or a html document? Pin
shertay5-Feb-06 16:47
shertay5-Feb-06 16:47 
QuestionText extraction Pin
KongHL1-Feb-06 20:51
KongHL1-Feb-06 20:51 
AnswerRe: Text extraction Pin
hsdok1-Feb-06 21:32
hsdok1-Feb-06 21:32 
GeneralRe: Text extraction Pin
James Gupta1-Feb-06 21:37
professionalJames Gupta1-Feb-06 21:37 
GeneralRe: Text extraction Pin
toxcct1-Feb-06 22:06
toxcct1-Feb-06 22:06 
GeneralRe: Text extraction Pin
KongHL1-Feb-06 21:54
KongHL1-Feb-06 21:54 
GeneralRe: Text extraction Pin
Sebastian Schneider1-Feb-06 22:08
Sebastian Schneider1-Feb-06 22:08 
GeneralRe: Text extraction Pin
KongHL1-Feb-06 22:13
KongHL1-Feb-06 22:13 
GeneralRe: Text extraction Pin
Sebastian Schneider1-Feb-06 22:18
Sebastian Schneider1-Feb-06 22:18 
AnswerRe: Text extraction Pin
grigsoft1-Feb-06 22:39
grigsoft1-Feb-06 22:39 
AnswerRe: Text extraction Pin
Maximilien2-Feb-06 3:10
Maximilien2-Feb-06 3:10 

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.