Announcement

Collapse
No announcement yet.

How to set borderstyle/ID on child DDT dialog?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Semen Matusovski
    replied
    %ws_child or %ds_control as style works

    could be it's better to use
    %ws_child or %ws_clipchildren or %ws_clipsiblings or %ds_control,
    %ws_ex_transparent or %ws_ex_clientedge

    (like chris offers in his sample http://www.powerbasic.com/support/pb...ad.php?t=22596
    )

    it's possible to set alone %ds_control
    dialog new hwndparent, ", x, y, cx, cy, %ws_child, %ws_ex_clientedge to hdlg
    setwindowlong hdlg, %gwl_style, %ds_control
    but results are strange

    [this message has been edited by semen matusovski (edited march 13, 2000).]

    Leave a comment:


  • Guest's Avatar
    Guest replied
    This DOESN'T work for DS_CONTROL style..

    That's my problem

    Thanks,



    ------------------

    Leave a comment:


  • Semen Matusovski
    replied
    Edwin --
    This is a definition of child dialog from the program, which I posted 5 minutes ago (see Source forum)
    Dialog New hWndParent, "", x, y, cx, cy, %WS_CHILD Or %WS_BORDER, %WS_EX_CLIENTEDGE To hDlg

    For SetWindowLong you need to know handle of window.
    hDlg here is exactly, what you need.

    ------------------

    Leave a comment:


  • Guest's Avatar
    Guest started a topic How to set borderstyle/ID on child DDT dialog?

    How to set borderstyle/ID on child DDT dialog?

    I'm using a DDT dialog as child control, i CAN'T set it's border.

    Why is this behaviour?

    Is there a poss. that i can set it to %WS_BORDER thin and or clientedge?

    Only ds_modal seems to work.

    Tried to set this afterwards using setwindowlong

    And;
    Can i set it's ID? (like 100)
Working...
X