STR #767

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]

Return to Bugs & Features | Post Text | Post File | Prev | Next ]

STR #767

Application:FLTK Library
Status:5 - New
Priority:1 - Request for Enhancement, e.g. asking for a feature
Scope:2 - Specific to an operating system
Summary:Removeing titlebar but keeping border.(win32)
Created By:Cristian
Assigned To:Unassigned
Fix Version:Unassigned
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

Post File ]

No files

Trouble Report Comments:

Post Text ]
Name/Time/Date Text top right image
#1 Cristian
15:12 Mar 19, 2005
There should be a way of makeing a window without an titlebar , but without removeing the border.
Currently i see that fltk only supports borderless & titlebarless windows for menus.
Support can be simply added by creating a 4-th case here(Fl_win32.cxx):
Fl_X* Fl_X::make(Fl_Window* w) {
switch (fake_X_wm(w, xwm, ywm, bt, bx, by)) {
      // No border (used for menus)
      case 0: style |= WS_POPUP;
              styleEx |= WS_EX_TOOLWINDOW;

      // Thin border and title bar
      case 1: style |= WS_DLGFRAME | WS_CAPTION; break;

      // Thick, resizable border and title bar, with maximize button
      case 2: style |= WS_THICKFRAME | WS_MAXIMIZEBOX | WS_CAPTION ; break;

      case 0: style |= WS_POPUP; //this can pe WS_POPUPWINDOW
              styleEx |= WS_EX_TOOLWINDOW;

Thank you for your time!
#2 AlbrechtS
04:03 Apr 23, 2008
see also STR #1679:

It's not a duplicate, but an extension.
bottom left image   bottom right image

Return to Bugs & Features | Post Text | Post File ]


Comments are owned by the poster. All other content is copyright 1998-2023 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to ''.