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

C / C++ / MFC

 
AnswerRe: how i can resolve this problem???????????? Pin
Eytukan23-Mar-09 20:10
Eytukan23-Mar-09 20:10 
QuestionNot able to use volume control functions in MCI Pin
John50223-Mar-09 8:24
John50223-Mar-09 8:24 
AnswerRe: Not able to use volume control functions in MCI Pin
aks.23-Mar-09 19:04
aks.23-Mar-09 19:04 
QuestionRadio Btns in Studio2008 - help Pin
john john mackey23-Mar-09 8:04
john john mackey23-Mar-09 8:04 
AnswerRe: Radio Btns in Studio2008 - help Pin
TinyDevices23-Mar-09 8:17
professionalTinyDevices23-Mar-09 8:17 
GeneralRe: Radio Btns in Studio2008 - help Pin
john john mackey23-Mar-09 8:23
john john mackey23-Mar-09 8:23 
GeneralRe: Radio Btns in Studio2008 - help Pin
Eytukan23-Mar-09 19:05
Eytukan23-Mar-09 19:05 
GeneralRe: Radio Btns in Studio2008 - help Pin
john john mackey26-Mar-09 2:55
john john mackey26-Mar-09 2:55 
QuestionHow to Write DllMain Function Pin
dataminers23-Mar-09 6:49
dataminers23-Mar-09 6:49 
AnswerRe: How to Write DllMain Function Pin
TinyDevices23-Mar-09 7:21
professionalTinyDevices23-Mar-09 7:21 
AnswerRe: How to Write DllMain Function Pin
David Crow23-Mar-09 7:45
David Crow23-Mar-09 7:45 
QuestionC Implementation of Boyer-Moore of BMH Pin
Jeffrey Walton23-Mar-09 5:15
Jeffrey Walton23-Mar-09 5:15 
QuestionRe: C Implementation of Boyer-Moore of BMH Pin
David Crow23-Mar-09 5:54
David Crow23-Mar-09 5:54 
AnswerRe: C Implementation of Boyer-Moore of BMH Pin
Jeffrey Walton23-Mar-09 6:12
Jeffrey Walton23-Mar-09 6:12 
AnswerRe: C Implementation of Boyer-Moore of BMH Pin
Joe Woodbury23-Mar-09 12:20
professionalJoe Woodbury23-Mar-09 12:20 
GeneralRe: C Implementation of Boyer-Moore of BMH Pin
Jeffrey Walton23-Mar-09 21:22
Jeffrey Walton23-Mar-09 21:22 
Questionreusable dialog code Pin
tnarb23-Mar-09 3:39
tnarb23-Mar-09 3:39 
AnswerRe: reusable dialog code Pin
Code-o-mat23-Mar-09 3:43
Code-o-mat23-Mar-09 3:43 
GeneralRe: reusable dialog code Pin
tnarb23-Mar-09 3:57
tnarb23-Mar-09 3:57 
GeneralRe: reusable dialog code Pin
David Crow23-Mar-09 3:59
David Crow23-Mar-09 3:59 
GeneralRe: reusable dialog code Pin
tnarb23-Mar-09 4:10
tnarb23-Mar-09 4:10 
GeneralRe: reusable dialog code Pin
Code-o-mat23-Mar-09 4:12
Code-o-mat23-Mar-09 4:12 
As other speedy people already pointed out, you can reuse dialog resources and classes, unless they are not written to be reusable. I used an .rc2 file, giving a "string ID" to the dialog resource instead of a numeric one, placing the control/commond IDs into a "custom resource.h" and of course the .h and .cpp for the class of the dialog to move commonly used things around projects and this works fine, you just have to remember that you have to explicitly set the .rc2 to be compiled by the resource compiler tool otherwise the resource won't be added to your executable and then you can scratch your head why your dialog does not get displayed when it should.

> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Life: great graphics, but the gameplay sux. <

GeneralRe: reusable dialog code Pin
Yusuf23-Mar-09 7:49
Yusuf23-Mar-09 7:49 
GeneralRe: reusable dialog code Pin
Code-o-mat23-Mar-09 10:01
Code-o-mat23-Mar-09 10:01 
AnswerRe: reusable dialog code Pin
Alan Balkany23-Mar-09 4:03
Alan Balkany23-Mar-09 4:03 

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.