locked
sets the title for the graphics window.(SMAL BASIC) RRS feed

  • Question

  • How do I change the 

    groundColor

    on window's title bar?
    Saturday, March 3, 2018 10:50 AM

Answers

  • I don't think you can without changing theme for all windows.  The tile bar is controlled by the OS and is known as non-client area.

    See

    https://msdn.microsoft.com/en-us/library/ms748948%28v=vs.100%29.aspx?f=255&MSPPError=-2147217396

    The following figure illustrates the constituent parts of a window.

    Window elements

    A window is divided into two areas: the non-client area and client area.

    The non-client area of a window is implemented by WPF and includes the parts of a window that are common to most windows, including the following:

    • A border.

    • A title bar.

    • An icon.

    • Minimize, Maximize, and Restore buttons.

    • A Close button.

    • A System menu with menu items that allow users to minimize, maximize, restore, move, resize, and close a window.


    Saturday, March 3, 2018 12:28 PM
  • Hi,

    To change the color of the title bar in Windows 10,

    • Open Settings
    • Then Personalization
    • Select Colors
    • Choose a color then check Title Bars(check box).

    Thanks,


    Roshan - 7th Grade Student (Age 12) - Learning Small Basic, Visual Basic and C#



    Saturday, March 3, 2018 1:01 PM
  • It's all in the
    GraphicsWindow
    LDGraphicsWindow
    TextWindow
    LDTextWindow
    ... classes  (in SmallbasicLibrary.dll  resp. for LD.. in LitDev.dll)

    And
    LDWindows
    to handle multiple GraphicsWindows

    For LD... classes see LitDev Extension  and   LitDev Extension API


    Sunday, March 4, 2018 12:48 AM
    Answerer

All replies

  • I don't think you can without changing theme for all windows.  The tile bar is controlled by the OS and is known as non-client area.

    See

    https://msdn.microsoft.com/en-us/library/ms748948%28v=vs.100%29.aspx?f=255&MSPPError=-2147217396

    The following figure illustrates the constituent parts of a window.

    Window elements

    A window is divided into two areas: the non-client area and client area.

    The non-client area of a window is implemented by WPF and includes the parts of a window that are common to most windows, including the following:

    • A border.

    • A title bar.

    • An icon.

    • Minimize, Maximize, and Restore buttons.

    • A Close button.

    • A System menu with menu items that allow users to minimize, maximize, restore, move, resize, and close a window.


    Saturday, March 3, 2018 12:28 PM
  • Hi,

    To change the color of the title bar in Windows 10,

    • Open Settings
    • Then Personalization
    • Select Colors
    • Choose a color then check Title Bars(check box).

    Thanks,


    Roshan - 7th Grade Student (Age 12) - Learning Small Basic, Visual Basic and C#



    Saturday, March 3, 2018 1:01 PM
  • thank you

    I was looking for a library that would let me handle all the features of a window with the SMALL BASIC language

    Saturday, March 3, 2018 9:57 PM
  • It's all in the
    GraphicsWindow
    LDGraphicsWindow
    TextWindow
    LDTextWindow
    ... classes  (in SmallbasicLibrary.dll  resp. for LD.. in LitDev.dll)

    And
    LDWindows
    to handle multiple GraphicsWindows

    For LD... classes see LitDev Extension  and   LitDev Extension API


    Sunday, March 4, 2018 12:48 AM
    Answerer