Hello all, I am facing a very peculiar problem.I am not able to add new functions/event handlers into a particular class of my project.when i try to add an event handler it gives error saying that "the code element CResult is read only and add remove operation is impossible" while i am still able to add event handlers in to the other classes of the project. can anybody please tell me what the problem could be???:doh:
SteamEngine
Posts
-
Not able to add event handlers!! -
inserting Activex Controls:sigh:If i unchecked the option of ActiveX controls in the begining when i was creating a new MFC application(in the wizard)..........and later on i decide that i do need the ActiveX Controls inside my application ............after i have written half of the code ...is there some way to change the properties of the project...Please tell me???
-
increasing the virtual memory of my PCany idea guys ??? my system is running slow and gives an error that says that the system is running low on virtual memory. How do i increase it?? Please!!
-
.inl filesWt are .inl files in vc++? Any kind of info is most welcome
-
deleting a CStatic object [modified]how to delete a CStatic object present on the Client window? wt is the right function? i have the following things with me:- 1) Pointer to the object 2) coordinates of the window/object 3) hWnd -- modified at 1:12 Tuesday 1st August, 2006
-
Deleting a CStatic objecthow to delete a CStatic Object. wt is the correct function? wts the syntax and parameters needed???
-
traversing and modifying CPtrlist [modified]POSITION pos = TouchAreaList->GetHeadPosition(); while (pos != NULL) {TouchAreaList->GetNext(pos);} wt next... i want a seperate pointer to point to a specific node in this list how to do that. pos will traverse alright but i want modify the data in a particular node how to do it??? -- modified at 4:42 Monday 31st July, 2006
-
need a handle to a CStatic objecti need to move the CStatic object which is again a window along with mouse drag. The moment user clicks in the window i get the pointer to it in the this pointer, but SetWindowPos func takes the handle of the window as tha paramater so now what to do ????
-
need a handle to a CStatic objectsee i will tell u, there are many CStatic objects on the client window, right. Now what happens is that the user clicks on one of them and i get the address of that object in the 'this' pointer. Now i want to move this object according to the mouse drag on the screen, with the help of SetWindow Pos func and Invalidate(TRUE); I have the address of the CStatic object which the user is trying to drag.How do i get the handle of this object so that i can move it. is there any way to find out the handle with the help of this pointer. otherwise tell me how i can move the CStatic window along with the mouse.
-
need a handle to a CStatic objectsee i will tell u, there are many CStatic objects on the client window, right. Now what happens is that the user clicks on one of them and i get the address of that object in the 'this' pointer. Now i want to move this object according to the mouse drag on the screen, with the help of SetWindow Pos func and Invalidate(TRUE); I have the address of the CStatic object which the user is trying to drag.How do i get the handle of this object so that i can move it. is there any way to find out the handle with the help of this pointer.
-
need a handle to a CStatic object:confused:I have a pointer to a CStatic object but i need a handle to it cos i need to reposition it on the screen with the help of SetWindowPos function. How can i obtain a handle to the object if I have pointer and is there any other way to move/reposition the CStatic object. Plzz Help !!! Anshul
-
how to move a rectanglei am tryng to move a rectangle placed in CStatic object, the CStatic object is in a child window of the application.every time i move (on LButton Up)the rect it goes out of the CStatic object and goes to the corner of the client screen. I want it to remain within that CStatic object(rectangle)but it just flies out please help me. currently i m moving it with the help of SetWindowPos(); Should i get the coordinates of the CStatic object, then what???:sigh: