That is it. I did it before but couldn't remember how or what it was called. I was looking everywhere. You saved me from going insane. Thank you very much.
QMuffs
That is it. I did it before but couldn't remember how or what it was called. I was looking everywhere. You saved me from going insane. Thank you very much.
QMuffs
I think it is called an accessor to my class but I'm not sure. Let's say I have this UserSettings["ITEMNAME"] When it does this I have to Validate the ItemName and return the default if it doesn't exist. I basically want the [] to act as a property in a way. Would it be an operator?
QMuffs
public class UserSettings { public UserSettings[] { } } so that I can access it like so: Console.WriteLine(UserSetting["ITEMNAME"]); Thank you to everyone in advance.
QMuffs
Worked great. Thank you for your time. QMuffs
I want to select some information from one server and join it to another servers information in a query. Is this Possible? QMuffs
I think you can get the caption of all windows like this. I'm sure there is an easier way. HWND curHWnd = GetWindow(HWND, GW_HWNDFIRST) while (curHWnd) { int iLen = GetWindowTextLength(curHWnd) GetWindowText(curHWnd , szWindowText, lngLen + 1) // check if szWindowText is the Caption you want curHWnd = GetWindow(curHWnd, GW_HWNDNEXT) } QMuffs
I just wanted to know if anyone knew where there was documentation because some of the commands in ActiveXScript are not the same as the ones I'm used to in VB. QMuffs
I need to find documentation on ActiveXScript Syntax. Thank you in advance QMuffs
Thank you for your help QMuffs
Thank you for your help. QMuffs
Would that make the call to it unique to that instance? If not, how could I make it unique. QMuffs
Yes, I'm designing my own. It has to do with the hidden 'this' argument that is passed to member functions of a class. It gives me this error. Compiling... cWindow.cpp c:\projects\cwindow\cwindow.h(86) : error C2440: 'type cast' : cannot convert from '' to 'long (__stdcall *)(struct HWND__ *,unsigned int,unsigned int,long)' None of the functions with this name in scope match the target type Error executing cl.exe. cWindow.exe - 1 error(s), 0 warning(s) QMuffs
I cannot figure out a way to get the WndProc as a member function of my window class I am building. Any Suggestions? :confused: QMuffs