| |||||||
| Plugins Plugins developed and maintained by users. Want to create your own plugin? Start a thread in here. |
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Portal Member | Hi, I am trying to develop a plugin but ran into some problems. I want to listen to events dispatched by windows via the windows message queue. Normally in WindowsForms applications this could be done by overriding the WndProc function. As the plugin is a DLL my class is not derived from System.Windows.Forms.Form therefor I don't have a WndProc function to override. I tried to just add a class derived from Form, but the message queue won't be available until I show the form. As you know, that is not possible. Does anyone here know another way to get the windows messages in a MediaPortal plugin? I stumbled over the class NativeWindow, but it needs a windowId to work - same problem as before :-/ Thanks, Shukuyen. |
| | |
![]() |
| Bookmarks |
| Tags |
| messages, plugin, wndproc |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Local Messages Display | tribexa | Skins and Plugins Installer (MPI) | 0 | 2008-01-17 17:55 |
| Scrambled channel messages | GagReflex | pre 1.0 RC1 | 0 | 2007-02-16 09:55 |
| More messages in the Plugin Infrastructure | joboehl | Improvement Suggestions | 3 | 2006-11-04 20:25 |
| Controlling mediaportal with messages | milanp | General Support | 10 | 2006-08-14 14:32 |
| Clan Messages Reader plugin...generic layout for every skin? | BigCheese | Plugins | 6 | 2006-02-16 00:33 |