Click here to Skip to main content
15,915,160 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: good BOOKS on MFC C++ Pin
Phil Hamer19-Jun-03 12:09
Phil Hamer19-Jun-03 12:09 
QuestionVertical Aligned CEdit? Pin
Nick Jacobs19-Jun-03 9:36
Nick Jacobs19-Jun-03 9:36 
GeneralXML Validator Pin
Brian Delahunty19-Jun-03 9:33
Brian Delahunty19-Jun-03 9:33 
GeneralRe: XML Validator Pin
Ravi Bhavnani19-Jun-03 11:56
professionalRavi Bhavnani19-Jun-03 11:56 
GeneralC++ Pin
Mark J Jackson19-Jun-03 9:27
Mark J Jackson19-Jun-03 9:27 
GeneralRe: C++ Pin
Maximilien19-Jun-03 9:54
Maximilien19-Jun-03 9:54 
GeneralRe: C++ Pin
basementman19-Jun-03 9:59
basementman19-Jun-03 9:59 
GeneralVisual Studio Design Time Bug Pin
Qarash19-Jun-03 9:08
Qarash19-Jun-03 9:08 
Hello,

I was just wondering if anyone else was getting this type of error.

Basically, in the last little while I have created my own versions of two common Windows controls and I would like to put them all in one project. My first control was a masked text box and everything work fine except that I would lose certain properties that I set in design after I compiled. For example, I had a "Mask Type" enum property that could be set at design time but when I ran the program and I went back to Visual Studio (while the program was still running) the "Masked Type" property would reset to its default state. The program ran properly the first time with the masked type but as soon as I closed it and ran it again, it would use the default value that it had been reset to. This problem frusterated me to no end as I couldn't do anything to save that property but I did narrow it down to that fact that it was because the property was an enum type. As a result, I found that if I moved that enum type to a different class, it would save properly and I could finally move on (although not as happily as I would have hoped). Recently, I have created a customized tab control that would allow me to change the style and colours of the pages. Again everything seemed to work fine but as I neared completion, I noticed that the design view was again not saving the changes that I was making in it after I had compiled. This time is was the pages collection that was losing its settings. Again, if I moved the collection outside of the class and into it's own class, the design time properties saved properly and I could use it normally.

My question is: Does anyone know what I am doing wrong (or possibly doing wrong) Has anyone had this problem with the designer and if so, how did you fix it. I would appreciate any and all help that I could get in this matter. Thanks in advance.

Cheers,

Mike
General(Different) Question About Declarations Pin
yashraj121519-Jun-03 8:49
yashraj121519-Jun-03 8:49 
GeneralRe: (Different) Question About Declarations Pin
David Crow19-Jun-03 9:24
David Crow19-Jun-03 9:24 
GeneralRe: (Different) Question About Declarations Pin
Brian Delahunty19-Jun-03 10:14
Brian Delahunty19-Jun-03 10:14 
GeneralRe: (Different) Question About Declarations Pin
Michael Dunn19-Jun-03 12:06
sitebuilderMichael Dunn19-Jun-03 12:06 
GeneralRegistry/String Questions Pin
yashraj121519-Jun-03 8:01
yashraj121519-Jun-03 8:01 
GeneralRe: Registry/String Questions Pin
AlexO19-Jun-03 8:09
AlexO19-Jun-03 8:09 
GeneralRe: Registry/String Questions Pin
yashraj121519-Jun-03 8:28
yashraj121519-Jun-03 8:28 
GeneralRe: Registry/String Questions Pin
David Crow19-Jun-03 9:06
David Crow19-Jun-03 9:06 
GeneralRe: Registry/String Questions Pin
AlexO20-Jun-03 4:14
AlexO20-Jun-03 4:14 
GeneralRe: Registry/String Questions Pin
David Crow19-Jun-03 9:19
David Crow19-Jun-03 9:19 
GeneralFirewall question Pin
Kuniva19-Jun-03 7:28
Kuniva19-Jun-03 7:28 
GeneralRe: Firewall question Pin
Joel Lucsy19-Jun-03 7:51
Joel Lucsy19-Jun-03 7:51 
GeneralRe: Firewall question Pin
basementman19-Jun-03 7:57
basementman19-Jun-03 7:57 
GeneralRe: Firewall question Pin
Kuniva19-Jun-03 11:36
Kuniva19-Jun-03 11:36 
GeneralRe: Firewall question Pin
Joel Lucsy19-Jun-03 14:34
Joel Lucsy19-Jun-03 14:34 
GeneralRe: Firewall question Pin
Robert Little19-Jun-03 8:04
Robert Little19-Jun-03 8:04 
Generalcapture wm_char message Pin
lucy19-Jun-03 7:19
lucy19-Jun-03 7:19 

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.