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

C / C++ / MFC

 
GeneralRe: CString::Empty() Pin
Bram van Kampen1-Feb-08 23:00
Bram van Kampen1-Feb-08 23:00 
GeneralRe: CString::Empty() Pin
CPallini2-Feb-08 5:13
mveCPallini2-Feb-08 5:13 
Questionhow to hide / show menubar in mfc mdi application? Pin
Prasann Mayekar1-Feb-08 19:14
Prasann Mayekar1-Feb-08 19:14 
Questionpicture box problem Pin
trioum1-Feb-08 18:23
trioum1-Feb-08 18:23 
GeneralRe: picture box problem Pin
Hamid_RT1-Feb-08 18:32
Hamid_RT1-Feb-08 18:32 
GeneralRe: picture box problem Pin
trioum1-Feb-08 23:36
trioum1-Feb-08 23:36 
GeneralRe: picture box problem Pin
Hamid_RT2-Feb-08 2:09
Hamid_RT2-Feb-08 2:09 
QuestionHow to share controls between property pages Pin
tigre2151-Feb-08 17:37
tigre2151-Feb-08 17:37 
I have 3 different applications that generate similar data. This data is grouped into different categories. I would like to have an option so that the user can export this data HTML or XML format. Also, for each format (HTML or XML) the user should be allowed to choose which data categories to export. For example, in HTML, the user may select certain optios. In XML, the user may choose other options. I decided to create 2 property pages each with the same options (check boxes): one for xml and one for html. When displayed on a propertysheet, both look identical (as expected).

I implemented this on one of the 3 applications and it works fine. But as I started to implement this on the second application, I noticed that i had to recreate the property page dialogs and classes (each property page dialog includes about 40 controls). If I continue this way, I will be duplicating a lot of code.

Can the property page dialogs (resources) and classes be placed in a central location where they can be used (referenced) by any number of applications without having to duplicate the code in each app?

LA

AnswerRe: How to share controls between property pages Pin
Joan M2-Feb-08 5:04
professionalJoan M2-Feb-08 5:04 
GeneralRe: How to share controls between property pages Pin
tigre2154-Feb-08 8:13
tigre2154-Feb-08 8:13 
GeneralRe: How to share controls between property pages Pin
Joan M4-Feb-08 9:21
professionalJoan M4-Feb-08 9:21 
Questionhow to read windows2003 IPsec Settings Pin
jianxin08051-Feb-08 15:14
jianxin08051-Feb-08 15:14 
GeneralRunning Software on a remote machine Pin
Bram van Kampen1-Feb-08 14:44
Bram van Kampen1-Feb-08 14:44 
GeneralCreateHardwareEventMoniker Pin
act_x1-Feb-08 12:54
act_x1-Feb-08 12:54 
Questiona question of c++ primer in chaper 10 Pin
jianfengshxy1-Feb-08 11:03
jianfengshxy1-Feb-08 11:03 
GeneralRe: a question of c++ primer in chaper 10 Pin
Mark Salsbery1-Feb-08 11:30
Mark Salsbery1-Feb-08 11:30 
GeneralRe: a question of c++ primer in chaper 10 Pin
David Crow1-Feb-08 12:08
David Crow1-Feb-08 12:08 
GeneralRe: a question of c++ primer in chaper 10 Pin
Luc Pattyn1-Feb-08 12:09
sitebuilderLuc Pattyn1-Feb-08 12:09 
QuestionComm Timeout problem Pin
jonsey298471-Feb-08 10:18
jonsey298471-Feb-08 10:18 
GeneralRe: Comm Timeout problem Pin
Luc Pattyn1-Feb-08 12:13
sitebuilderLuc Pattyn1-Feb-08 12:13 
GeneralRe: Comm Timeout problem Pin
jonsey298471-Feb-08 23:24
jonsey298471-Feb-08 23:24 
GeneralRe: Comm Timeout problem Pin
Luc Pattyn2-Feb-08 2:31
sitebuilderLuc Pattyn2-Feb-08 2:31 
GeneralRe: Comm Timeout problem Pin
jonsey298472-Feb-08 7:56
jonsey298472-Feb-08 7:56 
GeneralRe: Comm Timeout problem Pin
Luc Pattyn2-Feb-08 8:01
sitebuilderLuc Pattyn2-Feb-08 8:01 
GeneralRe: Comm Timeout problem Pin
CPallini2-Feb-08 11:04
mveCPallini2-Feb-08 11:04 

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.