I am using oracle database for my application... in which i wanted to check that database was corrupted or not before my application get started ... kindly give me idea about it..
thanks in advanced...
And for a small database I wouldn't think the cost (time to implement) wouldn't be worth it for the product and for a large database it would not only take a long time but I wonder what the app is going to do then?
Anyways, you could try hooking CreateWindow for your application OR register a windows hook for your process and catch the WM_CREATE message and try to add the WS_EX_LAYOUTRTL flag to created windows using ModifyStyleEx (don't know if it can be modified at runtime).
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> //TODO: Implement signature here<
When you call CreateWindowEx, the return is a handle to the button, that same handle can be used within the WPARAM or LPARAM to distinguish, or alternatively, if you have two button and you must distinguish, then they should probably be sending different messages.
Now you can distinguish which is which.
if ((UINT)HIWORD(wParam) == BN_CLICKED)
Triggered(L"1"); //Shows a messagebox.
Triggered(L"2"); //Shows a messagebox.
How can I get the title of this window and ensure it has certain specific text in it, to separate it from other notepad windows like it in C sharp? I have a program I'm trying to send controls to and the controls differ depending on the title and text of the window. I was using a DLL add on that will not function correctly in win7 because of the different way some GUI windows are drawn, so I wanted to make the entire app .net native.