Re: [fpc-pascal] Disabling the MIN, MAX, Close icon of EXE in free pascal

2014-06-04 Thread Ingmar Tulva
If you are writing for Windows, you just need to read the documentation on window style. WS_CAPTION, WS_MINIMIZEBOX and others, I must check the documentation every time I assign the style flags. See e.g. http://msdn.microsoft.com/en-us/library/windows/desktop/ms632600%28v=vs.85%29.aspx If you

Re: [fpc-pascal]Ummmm... anyone know why this doesn't work...

2003-08-14 Thread Ingmar Tulva
On Tue, 5 Aug 2003, L D Blake wrote: } // Message dispatcher for all windows } while GetMessage(WMsg,0,0,0) do }begin } if not IsDialogMessage(getforegroundwindow,wmsg) then }begin } TranslateMessage(WMsg); } DispatchMessage(WMsg); }end; }end; } }I

Re: [fpc-pascal]Ummmm... anyone know why this doesn't work...

2003-07-23 Thread Ingmar Tulva
Tabbing through controls is handled in DefDialogProc() when 1) dialog is modal or 2) you call IsDialogMessage() explicitly. I have no idea how to implement this when the buttons are inserted into a window of another class (when DefDialogProc is not the window procedure); certainly it is possible so