Yes I have the feature pack installed but the controls provided are too limited...the propertygridcontrol doesn't offer the opportunity to make a tree like control in witch the line with the expansion marquee could locate also another control.
So to overcame this problem I have thought that a solution will be to import a c# control...
my function f_my() receive identifier
of control, for example
How do set type of argument?
And how this function to call for execution?
As show - unproperly:
error C2660: 'GetDlgItem' : function does not take 1 arguments
In addition to what the other said and to remind you what I told some hours ago, GetDlgItem returns a pointer to a CWnd derived object. COleDateTime doesn't inherit from CWnd, so it is a completely different object. So, you can't cast your control to a COleDateTime object and expect everything to work.
And as I said David, why are you delegating that stuff to your application class ? Your dialog class should be responsible to manipulate its control, the application class has nothing to do with that.
I'm testing this on a Windows XP SP3 virtual machine. I connect to it using mstsc from a Windows Vista Ultimate x64 machine (which is also the host for the XP virtual machine). The program running on the RDP host (the XP machine) also opens two other virtual channels in much the same way and they work fine.
I have to read value of the registery so i am using RegQueryValueEx(),but it is returning value 6 which i have seen on msdn means :
The handle is invalid.
so what should i do to remove this error.