Announcement

Collapse
No announcement yet.

ImageX ?

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

  • ImageX ?

    I have this strange issue.
    First, I have this dialog, no matter how I do it, this particular dialog will not stretch a BMP across from end to end, it's got about 10 pixel gap...

    It's ugly, I want the dialog to be like the "Company I can't name" "Operating system I can't name" logo (Sorta)...

    So:
    Code:
        sOptions = " Options"
        Dialog New g_hWndMain,g_szMINE & sOptions,,, 245,235, _
                    %WS_CAPTION Or %WS_SYSMENU Or %WS_THICKFRAME To oDlg
        Dialog Send oDlg, %WM_SETICON, %ICON_BIG, g_hIcon
    
        Control Add ImageX, oDlg, -5,"#1028",0,0,250,50

    Now, that gets close but not close enough.

    Question #2, WHY is the IMageX control backwards, for Image I have to use the 0,0,50,250 but for ImageX I have to go 0,0,250,50


    How strange....

    Is the bitmap issue because of the style of dialog?


    Scott

    ------------------
    Scott
    Scott Turchin
    MCSE, MCP+I
    http://www.tngbbs.com
    ----------------------
    True Karate-do is this: that in daily life, one's mind and body be trained and developed in a spirit of humility; and that in critical times, one be devoted utterly to the cause of justice. -Gichin Funakoshi

  • #2
    I'll take a look later tonight and get back to you...



    ------------------
    Lance
    PowerBASIC Support
    mailto:[email protected][email protected]</A>
    Lance
    mailto:[email protected]

    Comment

    Working...
    X