javiscript
asked on
API+keyboard+url
hallo,
I want to make a programm that automatically changes the url of my browser to a specific one. Is there any way to do it with MFC?
An easy solution were just to move the mouse, click in "Location" and enter the url. I know how to move the mouse and click it, but, how can I type the text? I know this must be easy, but Im learning MFC only two weeks.
I want to make a programm that automatically changes the url of my browser to a specific one. Is there any way to do it with MFC?
An easy solution were just to move the mouse, click in "Location" and enter the url. I know how to move the mouse and click it, but, how can I type the text? I know this must be easy, but Im learning MFC only two weeks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
hWnd = Undeclared identifier.
How can I get it?
Sorry, as I said, MFC is new to me! :)
How can I get it?
Sorry, as I said, MFC is new to me! :)
ASKER
OK, You get the points and I post the question about hwnd as a separate question. Thanks!
hWnd is just a window handle. It can be NULL or your window handle. In a CWnd derived member function, you may use
hWnd = this->GetSafeHwnd();
hWnd = this->GetSafeHwnd();
ASKER