Re: [AD] drag and drop win32 |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
aj wrote:
When you have the HWND (through win_get_window()), you can add your own WinProc hook which can piggy-back on Allegro's. From there, it's a trivial matter to intercept any of the WM_ messages.what about the need for the ACCEPTFILES flag in the CreateWindow() ? ? ?
long exstyle = GetWindowLong(hwnd, GLW_EXSTYLE); SetWindowLong(hwnd, GWL_EXSTYLE, exstyle | WS_EX_ACCEPTFILES) -- - Robert Jr Ohannessian http://bob.allegronetwork.com/
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |