Re: [MSEide-MSEgui-talk] window resizing problem

2016-09-05 Thread Martin Schreiber
On Monday 05 September 2016 19:39:30 code dz wrote:
> this is a modified version of zengl , i removed its internal
> loop-for-ever , now  zgl_MainLoop procedure used instead,it loops once
> every call .
>
Please send the modified 32 bit zengl-ed.dll.

> do you have any clue why lazarus version works without problem ?
>
No.

Martin

--
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] window resizing problem

2016-09-05 Thread code dz
this is a modified version of zengl , i removed its internal
loop-for-ever , now  zgl_MainLoop procedure used instead,it loops once
every call .

do you have any clue why lazarus version works without problem ?

--
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] window resizing problem

2016-09-05 Thread Martin Schreiber
On Monday 05 September 2016 16:59:20 code dz wrote:
> test case but its windows only
>
> 2016-09-05 16:57 UTC+02:00, code dz :
> > Hi
> > i made 2 simple zengl app (with lazarus and msegui) , they are identical
> > . the problem is when resizing the window , with lazarus it work without
> > problem , but with msegui there is a weird behaviour .
"
procedure tmainfo.on_activate(const sender: TObject);
begin
  if not zglInited then begin
zglInited := true;
zglLoad(libZenGL);
zgl_Reg(SYS_LOAD,@init);
zgl_Reg(SYS_DRAW,@draw);
zgl_InitToHandle(render_win.clientwinid); <
  end; 
end;
"

zgl_InitToHandle() does not return which inhibits MSEgui event handling. 
Please do not mix zenGL event loop with MSEgui event loop.

Martin

--
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] window resizing problem

2016-09-05 Thread code dz
test case but its windows only

2016-09-05 16:57 UTC+02:00, code dz :
> Hi
> i made 2 simple zengl app (with lazarus and msegui) , they are identical .
> the problem is when resizing the window , with lazarus it work without
> problem , but with msegui there is a weird behaviour .
>


app.7z
Description: Binary data
--
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] calendardatetimeedit

2016-09-05 Thread Martin Schreiber
On Sunday 04 September 2016 15:05:58 Patrick Goupell wrote:
> On 09/05/2016 01:17 AM, Martin Schreiber wrote:
> > What do you expect? A dropdown window with a clock where the time can be
> > adjusted by mouse? How should it look, how should the UI work?
>
> Yes, I assumed the calendar would not appear if I set the kind property
> to time  and some type of clock image would appear just like if I tried
> to adjust the system time.
>
> If it does not work that way I will forget about it and just use a
> string edit and parse the entry for a valid time.
>
You can use a tdatetimeedit with "kind" = "dtk_time".

Martin

--
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] calendardatetimeedit

2016-09-05 Thread Patrick Goupell
On 09/05/2016 01:17 AM, Martin Schreiber wrote:
> What do you expect? A dropdown window with a clock where the time can be
> adjusted by mouse? How should it look, how should the UI work?
>

Yes, I assumed the calendar would not appear if I set the kind property 
to time  and some type of clock image would appear just like if I tried 
to adjust the system time.

If it does not work that way I will forget about it and just use a 
string edit and parse the entry for a valid time.

Patrick

--
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk