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

C / C++ / MFC

 
QuestionHow do you create new object using <vector>? Pin
kleft17-Jun-03 9:06
kleft17-Jun-03 9:06 
AnswerRe: How do you create new object using ? Pin
AlexO17-Jun-03 9:14
AlexO17-Jun-03 9:14 
Generalusing SP_DRVINFO_DATA_V2 instead of SP_DRVINFO_DATA_V1 Pin
tessierjf17-Jun-03 8:28
tessierjf17-Jun-03 8:28 
Generalstoring data in Memory and accessing it for playback Pin
johnstonsk17-Jun-03 7:58
johnstonsk17-Jun-03 7:58 
GeneralRe: storing data in Memory and accessing it for playback Pin
AlexO17-Jun-03 8:39
AlexO17-Jun-03 8:39 
GeneralRe: storing data in Memory and accessing it for playback Pin
AlexO17-Jun-03 8:47
AlexO17-Jun-03 8:47 
GeneralRe: storing data in Memory and accessing it for playback Pin
johnstonsk17-Jun-03 8:47
johnstonsk17-Jun-03 8:47 
GeneralActiveX control stock property issue. Pin
Marion2817-Jun-03 7:30
Marion2817-Jun-03 7:30 
Hi all,
I'm writing an ActiveX button control that uses the Caption stock property to display the text on the face of the button. I'm having a big problem getting the caption stock property to work correctly. I've added the caption stock property to my control class using the automation tab of classwizard, and added the appropriate drawing code in my OnDraw() function of the control. Everything works fine using the activex test container, but everything goes haywire in the program I embed the control in. In the application, the button face displays the caption as entered into the property page of the control, but when I try to change the caption using the stock caption put property method, the first time it will change, then any subsequent changes are not reflected, and the text on the button face is frozen (cannot be changed). This is also reflected in the VC++ 6.0 IDE. When I open the control property page in the IDE of the project I'm embedding the control in, and set the caption for the first time, it looks fine. But when if I need to change the caption in the IDE using the property page, it reverts back to the original caption. Does anyone have any ideas?

The activex control project runs under windows 2000, and compiles and registers fine. The project I'm embeding the control under also runs under windows 2000 and has no compile errors, but also uses the directx sdk.

I'm willing to send the source code for both projects to anyone willing to help me with this issue.

Please help!! This problem is maddening to me.

Thanks all,
MarionCry | :((
GeneralFunction to pass an CArray or Structure.. Pin
RobJones17-Jun-03 6:58
RobJones17-Jun-03 6:58 
GeneralRe: Function to pass an CArray or Structure.. Pin
basementman17-Jun-03 7:05
basementman17-Jun-03 7:05 
GeneralRe: Function to pass an CArray or Structure.. Pin
RobJones17-Jun-03 7:12
RobJones17-Jun-03 7:12 
GeneralRe: Function to pass an CArray or Structure.. Pin
peterchen17-Jun-03 7:12
peterchen17-Jun-03 7:12 
Generalnon-blocking mode in sockets Pin
User 988517-Jun-03 6:33
User 988517-Jun-03 6:33 
GeneralRe: non-blocking mode in sockets Pin
David Crow17-Jun-03 6:51
David Crow17-Jun-03 6:51 
GeneralRe: non-blocking mode in sockets Pin
User 988517-Jun-03 7:04
User 988517-Jun-03 7:04 
GeneralRe: non-blocking mode in sockets Pin
valikac17-Jun-03 7:46
valikac17-Jun-03 7:46 
GeneralRe: non-blocking mode in sockets Pin
User 988517-Jun-03 7:59
User 988517-Jun-03 7:59 
GeneralRe: non-blocking mode in sockets Pin
valikac17-Jun-03 8:09
valikac17-Jun-03 8:09 
GeneralFile associations Pin
Rage17-Jun-03 6:09
professionalRage17-Jun-03 6:09 
GeneralVC++ crashes... Pin
Rage17-Jun-03 5:51
professionalRage17-Jun-03 5:51 
GeneralRe: VC++ crashes... Pin
John M. Drescher17-Jun-03 6:09
John M. Drescher17-Jun-03 6:09 
GeneralRe: VC++ crashes... Pin
Rage17-Jun-03 6:10
professionalRage17-Jun-03 6:10 
GeneralRe: VC++ crashes... Pin
AlexO17-Jun-03 6:10
AlexO17-Jun-03 6:10 
GeneralRe: VC++ crashes... Pin
Rage17-Jun-03 6:25
professionalRage17-Jun-03 6:25 
GeneralRe: VC++ crashes... Pin
AlexO17-Jun-03 6:36
AlexO17-Jun-03 6:36 

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.