LIke below: ( I'm using D language )

void main()
{
    IupOpen (null, null );
    Ihandle* mainDlg = IupDialog( null );
    IupSetHandle( "MAIN_DIALOG", mainDlg );
    IupSetAttribute( mainDlg, "TITLE", "Test" );
    IupSetAttribute( mainDlg, "SIZE", "400x300");


    Ihandle* text = IupText( null );
    IupSetAttribute( text, "EXPAND", "YES" );

    Ihandle* labelString = IupLabel( "Scroll to Crash!" );
    IupSetAttribute( labelString, "SIZE", "400x20" );

    Ihandle* layoutHandle = IupBackgroundBox( labelString );
    Ihandle* vBox = IupVbox( text, layoutHandle, null );

    IupAppend( mainDlg, vBox );
    IupShow( mainDlg );

    IupMainLoop();

    IupClose();
}

2017-08-15 0:06 GMT+08:00 Antonio Scuri <antonio.sc...@gmail.com>:

>   Hi,
>
>   I could not reproduce your problem here. Can you modify an example to
> reproduce the problem?
>
> Best,
> Scuri
>
> 2017-08-13 2:46 GMT-03:00 許永寬 <nagahiro....@gmail.com>:
>
>> Also IupSplit, I need get the Bar Hadler and add WHEEL_CB codes, I think
>> there are all about *IupCanvas*
>>
>> 2017-08-13 13:09 GMT+08:00 許永寬 <nagahiro....@gmail.com>:
>>
>>> At r4353/r4360, I use a IupBackground as container to catch a BUTTON_CB,
>>> but when I move the mouse cursor on the IupBackground, scroll the wheel, my
>>> program crash.
>>>
>>> I need add some code about callback WHEEL_CB and just return
>>> IUP_DEFAULT, then no crash.
>>>
>>> At IUP 3.22, it works fine.
>>>
>>> Thanks~
>>>
>>
>>
>> ------------------------------------------------------------
>> ------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> Iup-users mailing list
>> Iup-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/iup-users
>>
>>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Iup-users mailing list
> Iup-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to