Click here to Skip to main content
15,892,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C - error while passing parameters Pin
Chuck O'Toole26-Dec-10 15:39
Chuck O'Toole26-Dec-10 15:39 
GeneralRe: C - error while passing parameters Pin
Manfred Rudolf Bihy27-Dec-10 4:06
professionalManfred Rudolf Bihy27-Dec-10 4:06 
AnswerRe: C - error while passing parameters Pin
jadughar26-Dec-10 21:02
jadughar26-Dec-10 21:02 
QuestionIntegrating OpenCV with MFC in VC 6.0 SP 6 Pin
Vaclav_26-Dec-10 6:32
Vaclav_26-Dec-10 6:32 
AnswerRe: Integrating OpenCV with MFC in VC 6.0 SP 6 Pin
Tony Richards26-Dec-10 9:50
Tony Richards26-Dec-10 9:50 
QuestionHow can I draw an animation on a transparent window using Windows API? Pin
Asaf Pinhassi26-Dec-10 3:42
Asaf Pinhassi26-Dec-10 3:42 
AnswerRe: How can I draw an animation on a transparent window using Windows API? Pin
jk chan26-Dec-10 18:48
jk chan26-Dec-10 18:48 
QuestionShockwave object questions - strange behaviour, very frustrating Pin
sgergo25-Dec-10 23:15
sgergo25-Dec-10 23:15 
Hi!

I'd like to use 5 different shockwave Flash objects in my MFC application. Each of the objects should have its own member variable and message notification (mouse over, left click). When I place only one object all is well: I add a variable and the member variable wizard gives a variable type of 'CShockwaveflash1' (or similar) and also creates a class with the same name.

However, if I place the 2nd shockwave object and would like to add its member variable, the variable type is grayed out and shows the same previous type, 'CShockwaveflash1'. With this way, if I create an OnMouseOver event, it fires with both objects thus making painful distinguishing which object has been mouse overed by the user.

I duplicated the 'CShockwaveflash1' class as 'CShockwaveflash2', and manually created two member variables, eg. CShockwaveflash1 m_flash1, CShockwaveflash2 m_flash2. With this way, I was able to receive the appropiate mouse events for each objects but the member variables aren't working at all: the IntelliSense won't pop up any members Frown | :(

For testing purposes, I deleted all the SW objects, the 'CShockwaveflash1' class also (.h and .cpp) and tried to re-place a new SW object on the form: it still gives the grayed variable type 'CShockwaveflash1' despite it has been deleted! It just stucks and the only way to get back is to start a new project. I checked the entire solution to get rid of 'CShockwaveflash1' but with no success.

It's very frustrating and there must be an easier way to handle all this. Any tip or hint would be highly appreciated.
Questionresizing a dialog Pin
Krauze25-Dec-10 13:57
Krauze25-Dec-10 13:57 
AnswerRe: resizing a dialog Pin
Richard MacCutchan25-Dec-10 23:10
mveRichard MacCutchan25-Dec-10 23:10 
AnswerRe: resizing a dialog Pin
Maximilien26-Dec-10 4:11
Maximilien26-Dec-10 4:11 
QuestionHow to print from a service? Pin
martinergb24-Dec-10 21:19
martinergb24-Dec-10 21:19 
AnswerRe: How to print from a service? Pin
Dr.Walt Fair, PE25-Dec-10 7:54
professionalDr.Walt Fair, PE25-Dec-10 7:54 
GeneralRe: How to print from a service? Pin
martinergb26-Dec-10 2:04
martinergb26-Dec-10 2:04 
GeneralRe: How to print from a service? Pin
Ralf.Bue26-Dec-10 4:50
Ralf.Bue26-Dec-10 4:50 
GeneralRe: How to print from a service? Pin
martinergb26-Dec-10 8:06
martinergb26-Dec-10 8:06 
GeneralRe: How to print from a service? Pin
Ralf.Bue30-Dec-10 8:22
Ralf.Bue30-Dec-10 8:22 
QuestionImage Flicker Pin
john563224-Dec-10 0:31
john563224-Dec-10 0:31 
GeneralRe: Image Flicker Pin
Luc Pattyn24-Dec-10 1:00
sitebuilderLuc Pattyn24-Dec-10 1:00 
AnswerRe: Image Flicker Pin
followait24-Dec-10 5:14
followait24-Dec-10 5:14 
AnswerRe: Image Flicker Pin
LunaticFringe24-Dec-10 7:10
LunaticFringe24-Dec-10 7:10 
AnswerRe: Image Flicker Pin
Stephen Hewitt25-Dec-10 1:11
Stephen Hewitt25-Dec-10 1:11 
AnswerRe: Image Flicker Pin
Rozis25-Dec-10 5:36
Rozis25-Dec-10 5:36 
Questionproblem with outlook application object Pin
dharani24-Dec-10 0:31
dharani24-Dec-10 0:31 
AnswerRe: problem with outlook application object Pin
Richard MacCutchan24-Dec-10 2:31
mveRichard MacCutchan24-Dec-10 2:31 

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.