Hello All!
I'm trying to write a component, but I need a property which shows all the
available showforms which is stated in the Win32API.
I can't figure how to create this array, or what ever it is.
Const
CShowMode : Array[0..11] Of Integer=(SW_HIDE,SW_Maximize, Sw_Minimize,
sw_Restore,Sw_show,SW_SHOWDEFAULT,
sw_showmaximized,sw_showminimized,
sw_showminnoactive,sw_ShowNa,
SW_SHOWNOACTIVATE, sw_shownormal);
Type
MyComp = class(Tcomponent)
private
FShowMode : CShowMode;
Published
Property Showmode : CShowMode Read FShowmode Write FShowMode;
End;
Please help!
Kind regards Ole
E-Mail: Ole_Mortensen@Hotmail.com
--- Squish/386 v1.11
---------------
* Origin: None (2:237/10.150)
|