|
yaminisridaran wrote: Can any one help me in this
no provide more useful informations and change your thread title... "Need urgent help" doesn't about what problem you face.
|
|
|
|
|
I have create an activeX Control in VS2005. I am trying to call a dialog box as activex control . I have changed the properties of the diaolg box to child and control. I have added only the two lines in my code . but when ever I insert that control in an exe. I gives me debug assert failed.
Do u want more information
S.Yamini
|
|
|
|
|
yaminisridaran wrote: I gives me debug assert failed
have you ever tried to use that perfectly useless tool that's called a debugger to find out where and why it crashes ?
|
|
|
|
|
I dont know wat to do now.Can u please guide me
S.Yamini
|
|
|
|
|
set a breakpoint and press F5 dude !
don't you know what a debugger is ?
|
|
|
|
|
I know that but I am getting that assertion message when I execute MoveWindow member function of CDialog
S.Yamini
|
|
|
|
|
too bad for you
|
|
|
|
|
I am sorry. I have added the line MoveWindow and I am getting error I dont know y.Help me
S.Yamini
|
|
|
|
|
yaminisridaran wrote: I dont know y.Help me
You would better have listened to your teacher.
We are here to help you (even now!).
But you need to show the error you get and the code you wrote.
We won't read your mind, see?
For better forum posts read this.[^]
Failure is not an option - it's built right in.
|
|
|
|
|
don't loose your time... i gave up
|
|
|
|
|
|
yaminisridaran wrote: When i insert this control in an exe it shows me debug assertion failed error message.
Can any one help me in this
You have failed to indicate what line of what file is asserting. Without such information, I can only surmise that you are attempting to move a non-existent window.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
You have been a member here long enough to know better than to title your message as 'urgent help'
Read the forum guidelines!
_____________________________________________
Flea Market! It's just like...it's just like...A MINI-MALL!
|
|
|
|
|
leckey wrote: You have been a member here long enough to know better than to title your message as 'urgent help'
Actually, no.
He has a habit of posting qustions with a nondescriptive, panicking title line.
Failure is not an option - it's built right in.
|
|
|
|
|
jhwurmbach wrote: He has a habit of posting qustions with a nondescriptive, panicking title line.
Maybe he generates a lot of "Software Emergencies"
|
|
|
|
|
yaminisridaran wrote: I have added the below line in oncreate
dlg.Create(IDD_DIALOG1,this)
and the below line in ondraw
dlg.MoveWindow(rcBounds,TRUE)
Huh? Is that really where you want to do the create and movewindow?
Mark Salsbery
Microsoft MVP - Visual C++
"Remember the five Ds of dogeball: Dodge, Dip, Duck, Dive, and Dodge."
"If you can dodge a wrench, you can dodge a ball."
|
|
|
|
|
just like we need a :filetOfish:
Happy Friday!
|
|
|
|
|
Indeed!
Cheers!
Mark Salsbery
Microsoft MVP - Visual C++
"Remember the five Ds of dogeball: Dodge, Dip, Duck, Dive, and Dodge."
"If you can dodge a wrench, you can dodge a ball."
|
|
|
|
|
how can i know on which menu item, the mouse pointer is currently hovering
in MFC doc/view architecture?
|
|
|
|
|
Abhijeet Pathak wrote: how can i know on which menu item, the mouse pointer is currently hovering
Try WM_MENUSELECT .
|
|
|
|
|
thanks
that works great for normal menu items...
but if i tried to retrieve menu string (caption) of menu item which contains
popup menu then it fails.
how can i retrieve caption of an menu item which contains popup (sub) menu.
i'm facing difficulties because such menu items don't have an ID.
|
|
|
|
|
Abhijeet Pathak wrote: but if i tried to retrieve menu string (caption) of menu item which contains
popup menu then it fails.
When it's a popup menu then it won't have a command id but it will have an index right. You get index in LOWORD( WPARAM ). Use MF_BYPOSITION with GetMenuString to retrieve menu string.
Tell me if it works.
|
|
|
|
|
|
hi
first of all, this forum is for asking questions related to C++/MFC Programming.
To ask questions like this, use another appropriate forum.
anyways http://en.wikipedia.org/wiki/Online_chat will give you some information.
|
|
|
|
|
Lol :p maybe he means how do you create a chat application? I'm not sure though
--PerspX
"Nowadays, security guys break the Mac every single day. Every single day, they come out with a total exploit, your machine can be taken over totally. I dare anybody to do that once a month on the Windows machine." - Bill Gates
|
|
|
|