|
Yeah, sorry my memory was a little vague there
The __event and associated keywords are the .NET 1.1 style of event handling. .NET 2.0 uses the event keyword instead, and is only supported for managed objects. If you're wanting to use events with native C++ objects (which they were never designed for), I'd recommend using callback functions or functors instead.
Ryan "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"
|
|
|
|
|
i guess back to the old solution. i was aware of functors, but just saw how convenient the __event style was.
thanks!
|
|
|
|
|
I code to display the bitmap,
the situation is like , i got a background bmp , and later a transparent bmp (Let's say a character bitmap) to cover onto the background.
I wonder why the background bmp is displayed well n refreshed at every rate , but the character bmp will display in a flashing way.
Is there anything to fix it?
And yet i tried another way , i created the character's DC and HBITMAP directly inside the background's DC but not in the CClientDC. It won't flash but it run very slow when it's bein displayed.
Hope to seek for some guides.
thanks for guides... =)
|
|
|
|
|
Hello,I am a newer here.
MY question is that I want to
make a Resizable DialogBar in SDI.
Could someone help me?
I need a copy of code,My email:onlyljl@homtmail.com
Thanks a lot!
Just TRY my best!
|
|
|
|
|
One[^]
Two[^]
The first is a dialog bar, the second is a control bar - both very helpful
- Dy
|
|
|
|
|
Hey,Dy,I don't quite get what you mean,Help me,GOD!@
Just TRY my best!
|
|
|
|
|
What I mean, is that you should take a look at the articles I've linked to, they may well show you what you need to know.
- Dy
|
|
|
|
|
I have written an application. After clicking cross (close) Button, i have to execute some code (i.e to call fclose() function). Where should I write the code? Please help me regarding this.
|
|
|
|
|
In your WM_CLOSE handler.
If your using MFC you can override OnClose for your view/dialog, or place your code in the ExitInstance member of your CWinApp derived class.
Or you could put your code in your objects ~destructor.
- Dy
|
|
|
|
|
acemahesh@yahoo.co.in wrote: I have written an application. After clicking cross (close) Button, i have to execute some code (i.e to call fclose() function). Where should I write the code? Please help me regarding this.
Handle OnCancel() in Case of Dialog Box!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
Thanks Everyone.
Actually I had created application using MFC wizard. I tried
void CMainFrame::OnClose()
{
fclose();
}
Its working..
Thanks Once again.
|
|
|
|
|
Hope I understood your question
you need to when click close button
insert WM_CLOSE
whitesky
|
|
|
|
|
WhiteSky wrote: WhiteSky
Color changed
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
almost
whitesky
|
|
|
|
|
My application architecher is c/s and serve for classes at the college.
Server displays its desktop screen to all clients and clients can see what teacher do demostrate. It alse can control every client just like doing
to local pc. And clients have giving right can control server.
Last month I've search a lot documentation and RDP can solve this problem.
But I dont know how to use RDP. So anybody can help me and tell how to begin
learning RDP and finish my job?
|
|
|
|
|
Hi,
I need to create an interface between QuickBooks and MS Access. Can you please tell me how to do this in vcpp 6?
Thanks.
Tara
Fortitudine Vinsinues!
|
|
|
|
|
Hi,
As a first step you need to register all the components and add necessary permissions to access from VC++, i think it should be DCOM components and there will be two .exe files. After these registration you will get Interop DLL's. From there it will be general programming structure it will give response in the form of XML further some PDF's will be available with QB for developers.
Siva.
|
|
|
|
|
Hi all..
i need some help regarding CMonthCalCtrl::SetDayState()
i am not able to start it off at all..
i saw some example s in MSDN .. couldnt make out what the pNMHDR pointer explained in an example is..
can anyone please tell me what it is??
and if any working sample code is given, i would be really grateful.
Thank you,
Arun
Arun
|
|
|
|
|
Thank you..
found out my problem.. its solved..
Arun
|
|
|
|
|
Hi,
I want to send Stream Bytes from VC++.Net Windows Application to VC++.Net MFC Active-X controls along with the length and i have to read that Bytes in Active-X control with length.
Please help me out.
Thanks.
|
|
|
|
|
Hi,
As i have to make new Icon for my application..I need different colors..But the controls for the Icon shows only 15 colors.Is there any option to get all different colors.I tried but i cud n't find where the control is placed.Help me
|
|
|
|
|
use menu Image ->New Image type and select from Target Image Type
|
|
|
|
|
Sorry to ask this...i couldnot find the Image menu whee is that? I need different clour selection like in paint or in MS Word
|
|
|
|
|
when you open icon and you can see it then goto menu Image and select New Image Type
|
|
|
|
|
Anu_Bala wrote: I need different colors..But the controls for the Icon shows only 15 colors.Is there any option to get all different colors.I tried but i cud n't find where the control is placed.Help m
Which version of Visual Studio are you using?
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|