Click here to Skip to main content
15,897,704 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: CVTRES : fatal error CVT1100: duplicate resource. type:DIALOG, name:PRINTSTATUS, language:0x0409 Pin
Adam Roderick J9-Sep-09 0:32
Adam Roderick J9-Sep-09 0:32 
AnswerRe: CVTRES : fatal error CVT1100: duplicate resource. type:DIALOG, name:PRINTSTATUS, language:0x0409 Pin
Vetukuri Raju9-Sep-09 0:38
Vetukuri Raju9-Sep-09 0:38 
QuestionRe: CVTRES : fatal error CVT1100: duplicate resource. type:DIALOG, name:PRINTSTATUS, language:0x0409 Pin
Adam Roderick J9-Sep-09 0:50
Adam Roderick J9-Sep-09 0:50 
GeneralRe: CVTRES : fatal error CVT1100: duplicate resource. type:DIALOG, name:PRINTSTATUS, language:0x0409 Pin
Vetukuri Raju9-Sep-09 1:00
Vetukuri Raju9-Sep-09 1:00 
GeneralRe: CVTRES : fatal error CVT1100: duplicate resource. type:DIALOG, name:PRINTSTATUS, language:0x0409 Pin
Adam Roderick J9-Sep-09 1:16
Adam Roderick J9-Sep-09 1:16 
GeneralRe: CVTRES : fatal error CVT1100: duplicate resource. type:DIALOG, name:PRINTSTATUS, language:0x0409 Pin
Vetukuri Raju9-Sep-09 1:25
Vetukuri Raju9-Sep-09 1:25 
GeneralRe: CVTRES : fatal error CVT1100: duplicate resource. type:DIALOG, name:PRINTSTATUS, language:0x0409 Pin
Adam Roderick J9-Sep-09 1:34
Adam Roderick J9-Sep-09 1:34 
GeneralRe: CVTRES : fatal error CVT1100: duplicate resource. type:DIALOG, name:PRINTSTATUS, language:0x0409 Pin
Vetukuri Raju9-Sep-09 1:32
Vetukuri Raju9-Sep-09 1:32 
GeneralRe: CVTRES : fatal error CVT1100: duplicate resource. type:DIALOG, name:PRINTSTATUS, language:0x0409 [modified] Pin
Adam Roderick J9-Sep-09 2:07
Adam Roderick J9-Sep-09 2:07 
GeneralRe: CVTRES : fatal error CVT1100: duplicate resource. type:DIALOG, name:PRINTSTATUS, language:0x0409 Pin
Vetukuri Raju9-Sep-09 2:20
Vetukuri Raju9-Sep-09 2:20 
GeneralRe: CVTRES : fatal error CVT1100: duplicate resource. type:DIALOG, name:PRINTSTATUS, language:0x0409 Pin
Vetukuri Raju10-Sep-09 3:47
Vetukuri Raju10-Sep-09 3:47 
GeneralRe: CVTRES : fatal error CVT1100: duplicate resource. type:DIALOG, name:PRINTSTATUS, language:0x0409 Pin
Stuart Dootson9-Sep-09 3:30
professionalStuart Dootson9-Sep-09 3:30 
GeneralRe: CVTRES : fatal error CVT1100: duplicate resource. type:DIALOG, name:PRINTSTATUS, language:0x0409 Pin
Vetukuri Raju9-Sep-09 3:42
Vetukuri Raju9-Sep-09 3:42 
QuestionHow use DDX_Radio in a CDialogBar Pin
Crownless8-Sep-09 23:26
Crownless8-Sep-09 23:26 
AnswerRe: How use DDX_Radio in a CDialogBar Pin
Richard MacCutchan8-Sep-09 23:32
mveRichard MacCutchan8-Sep-09 23:32 
GeneralRe: How use DDX_Radio in a CDialogBar Pin
Crownless8-Sep-09 23:40
Crownless8-Sep-09 23:40 
GeneralRe: How use DDX_Radio in a CDialogBar Pin
Cedric Moonen8-Sep-09 23:44
Cedric Moonen8-Sep-09 23:44 
GeneralRe: How use DDX_Radio in a CDialogBar Pin
Crownless9-Sep-09 0:15
Crownless9-Sep-09 0:15 
GeneralRe: How use DDX_Radio in a CDialogBar Pin
Selvam R9-Sep-09 1:09
professionalSelvam R9-Sep-09 1:09 
GeneralRe: How use DDX_Radio in a CDialogBar Pin
SandipG 9-Sep-09 1:29
SandipG 9-Sep-09 1:29 
QuestionAllowing a control to receive mouse clicks while a modal dialog is up. Pin
Code-o-mat8-Sep-09 22:46
Code-o-mat8-Sep-09 22:46 
Hello people!

I know this sounds sick, but...sadly in our project the requirement arose to let the user click on a control "behind" a modal dialog. This control is on the main window of our application which is also the parent of the modal dialog and the requirement says that the user should be able to click around this one control in the main window but he should not be able to use anything else that is not on the modal dialog.
I know i could make the dialog modeless and disable everything on the main window except for this one control but this solution doesn't sound all that "sophisticated" and i am hoping for a better one, not to mention that if i disable everything else on the main window the user will still be able to move it around and resize it while the dialog is up and that is also not acceptable but hacking into the moving-sizing functionality also sounds disgusting. Another problem with this aproach would be that certain things around the main window might change enabled-disabled states while the dialog is up depending on certain events (mostly triggered by changes in hardware) so simply disabling everything and re-enabling them once the dialog is closed is not that obvious as it sounds.
Another thing i can think of is capturing the mouse input to the dialog and checking what is under the mouse when it is clicked and if it is that certain control, post/send the mouse messages to it, this might or might not work and also this causes problems when the user tries to move the dialog itself around or when it clicks on a button in the dialog.
I tried catching the needed mouse messages in CWinApp::ProcessMessageFilter or CWinApp::PreTranslateMessage but these don't seem to get called if the user clicks outside of the dialog.
So, any of you have a better idea how to do this if it is possible at all? Is there maybe a filter method i could overwrite somewhere that filters out clicks outside of the modal dialog?

Thanks in advance.

> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Sometimes you just have to hate coding to do it well. <

QuestionRe: Allowing a control to receive mouse clicks while a modal dialog is up. Pin
CPallini8-Sep-09 22:52
mveCPallini8-Sep-09 22:52 
AnswerRe: Allowing a control to receive mouse clicks while a modal dialog is up. Pin
Code-o-mat8-Sep-09 22:58
Code-o-mat8-Sep-09 22:58 
GeneralRe: Allowing a control to receive mouse clicks while a modal dialog is up. Pin
CPallini8-Sep-09 23:07
mveCPallini8-Sep-09 23:07 
AnswerRe: Allowing a control to receive mouse clicks while a modal dialog is up. Pin
Richard MacCutchan8-Sep-09 23:30
mveRichard MacCutchan8-Sep-09 23:30 

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.