event for windowless
-
hi, 1- do i create an event for a windowless project (for example, a dll project)? 2- how do i use event of an ActiveX control in my project, without using control(hwnd) of ActiveX? my project is a windowless project (it is a dll). i create object of this activeX:
myActiveX.Create(NULL, NULL, CRect(0,0,0,0),cw.FindWindow(NULL,NULL), 0);
thanx all
Zo.Naderi-Iran
-
hi, 1- do i create an event for a windowless project (for example, a dll project)? 2- how do i use event of an ActiveX control in my project, without using control(hwnd) of ActiveX? my project is a windowless project (it is a dll). i create object of this activeX:
myActiveX.Create(NULL, NULL, CRect(0,0,0,0),cw.FindWindow(NULL,NULL), 0);
thanx all
Zo.Naderi-Iran
you are mixing messages and events. Events are Windows handles. Read this: http://msdn.microsoft.com/en-us/library/ms686915%28VS.85%29.aspx[^] For using events you need some threads which are waiting for some events. Really powerful API: http://msdn.microsoft.com/en-us/library/ms687055%28VS.85%29.aspx[^] Search for some articles to dig deeper
Press F1 for help or google it. Greetings from Germany