Posts by Emin

    I created a text widget and set it's font to 255 pixel size font. I have a timer which updates the text widget repeatedly.So If the text widget's setText operation is not finished yet, the text widget content behavior wierd. I want to check setText operation is finished or isnt finished, then update the text widget content if the previous operation finished. Are there any way to do this. I try gui_exec but doesnt work...

    Thanks in advance.

    Hi, I converted an image which have alpha channel by BmpCvtST.exe. When I try to display image with IMAGE_SetBitmap, fully transparent section of image seems black, half transparent section of image seems ~yellow and non-transparent areas seams fully transparent. How can I fix the issue. By the way If I use IMAGE_SetBitmap function with an image which havent alpha channel it seams as expected.

    Thanks in advance.

    Hi,
    I want to use my horizontal lcd as vertical in my application. Currently I am using it horizontal (32bit dept) and all works fine. I change GUIDRV_LIN_32 to GUIDRV_LIN_OSXY_32 to use it vertical. Then when I compile the project, the -undefined reference to 'GUIDRV_Lin_OSXY_32_API '- error occurs.But when I review the library all GUI_DEVICE_APIs refers to same header. How can I define the reference of 'GUIDRV_Lin_OSXY_32_API' ?

    Thanks in advance.

    Hi,
    I have created dialog which have 2 dropbox and one button widget as child. When I call the createDialog routine. First child have focus. I want to change focused child with my button input. I have an buttonControl routine to send WM which key is pressed. The WM_KEY case is not triggered when I press the left button . if I press up or down key, dropdown widget changes its selected string. So I can understand that widget key reaction gets key inputs before WM_KEY. But when I press escape button. WM_KEY case triggered and I can close my window. However, WM_KEY case don't triggered When I press left or right button although widget have not left or right key reaction. How can I change focussed child with input key(GUI_SendKeyMsg,GUI_StoreKeyMsg).

    Thanks in advance...

    Best Regards.
    Emin ATEŞ

    Hi Alex,
    I had tried to implement your code to my treeview but i could not succeed. I have a few questions. I will be appreciate if you answer me kindly. Before the questions i will inform you about my application;
    I use key reaction to control widget behavior.
    Treeview widget created in a dialogbox with a window by GuiBuilder.exe
    The treeview nodes and leafs create by file which located in sd card.
    Example file format in sd card is below;

    So According to the file item count ends with "#end" command. When I call create dialog function the treeview items created according to the file. After Treeview widged created, I want to add new leaf below selected leaf. It is easy to add sibling leaf. The new leaf must give some information about prev leaf(selected). But selected leaf and new leaf looks separate from each other. So I want to add frame images to them which looks like upper(selected item's background) part of frame and lower(new created item's background) part of frame. It will be more clear if you review "customTreeview.png" from attachments. So if user change selection, old selected item should seems normal and created item should deleted before creating new item and changing frame. It can be a bit confusing up here because my English is may not clear.


    It is possible to create treeview like attachments?
    if it is possible, how do I add a custom draw to the treeview created under dialog?
    Can you suggest more effective way to do this?

    If you want additional info please submit.

    Thanks in advance...

    Best Regards
    Emin ATEŞ

    Hi,

    I have created a treeView widget with nodes and leafs. The memory does not cause problems for now. But If I attach more nodes it can be cause memory problem in the feature. So I want to calculate recommended memory for treeView. I reviewed user manual. There are some widget's memory consumption with given hardware and software specs. But I cant find information about treeview widget and it is not clear for me. So How can i estimate recommended memory for treeView widget ?
    Thanks in advance...


    Best Regards,
    Emin ATEŞ

    Hi,
    I create an TreeView widget with nodes. I want to change TreeView Item images and set Text indent zero.
    When I use following code,

    Code
    TREEVIEW_SetImage(hItem,TREEVIEW_BI_OPEN,&bitmap200x20);
    
    
    TREEVIEW_SetTextIndent(hItem,0);

    TreeView item text disappears. So How can I bring TreeView item's text front of the TreeView item's bitmap ?

    P.S: I have reviewed all emWin User&Reference Guide. Document: UM03001. If I have miss related part of document. You can point document.

    Thanks in advance...

    Best Regards
    Emin ATEŞ