![]() |
|
#1
|
|||
|
|||
Overriding web browser cursor in an MFC AppHello,
I have a simple MFC dialog based application with a microsoft web browser activeX control in it. I want the ability to specify a mouse cursor image, instead of the web browser using whatever cursor the underlying html tells it to. So far I have only been successful in setting the cursor of the Dialog window itself using CPP / C++ / C Code:
So I thought the next logical step would be to try the same thing but pass the web browser handle instead. CPP / C++ / C Code:
Unfortunately, this does nothing My next idea was to add a CStatic control (like a static text control, or an image control), add it over the top of the entire web browser, change the cursor property of the CStatic control, and make the static control transparent so the web browser underneath can be seen (I didn't mind if this blocked user input as a side effect, because that is also a desired outcome). But I failed as soon as I tried to change the cursor property of the CStatic control Code:
Sorry for the long-winded post guys, but I wanted to explain the problem as best as I could. If I havn't explained myself properly somewhere, let me know. Thanks in advance! Last edited by LuciWiz : 24-Oct-2005 at 04:46.
Reason: Please insert your C++ code between [c++] & [/c++] tags
|
|||
Recent GIDBlog
Vista ?Widgets? on Windows XP by LocalTech
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| The google browser or OS | hangmansjoke | Search Engine Optimization Forum | 7 | 09-Dec-2004 21:21 |
| Why should you switch to the firebird browser? | jrobbio | Computer Software Forum - Linux | 5 | 22-Nov-2003 15:08 |
| How secure is YOUR browser? | Garth Farley | Computer Software Forum - Windows | 16 | 31-Jul-2003 15:27 |
| Using browser extensions to enhance web design | jrobbio | Web Design Forum | 0 | 27-Jul-2003 17:38 |
| Tell me if this works with YOUR browser? | JdS | Learning Journal by J de Silva | 7 | 07-Apr-2003 18:38 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The