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

2014-06-04 Thread Yann Mérignac
This program works (at least on windows XP) but must be changed according to your language : program consprg; {$mode objfpc}{$H+} uses Classes, Crt, windows; const CloseItemString = '&Fermer'; // '&Fermer' : french // probably '&Close' in englis

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

2014-06-04 Thread Tomas Hajny
On Tue, June 3, 2014 17:48, Ingmar Tulva wrote: > 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/librar

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

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

2014-06-03 Thread mokashe.ram
Hi Everyone, could anyone help me on disabling the MIN,MAX,Close icon of EXE in free pascal. Thanks, sudarshan -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Disabling-the-MIN-MAX-Close-icon-of-EXE-in-free-pascal-tp5719494.html Sent from the Free Pascal - G