FLTK logo

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 | SVN ⇄ GIT | 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
Subsystem:WIN32
Summary:Removeing titlebar but keeping border.(win32)
Version:1.4-feature
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  
 
#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;
              break;

      // 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;
    }
.......
}

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

Thank you for your time!
Cheers,
   Cristian
 
 
#2 AlbrechtS
04:03 Apr 23, 2008
see also STR #1679: http://www.fltk.org/str.php?L1679

It's not a duplicate, but an extension.
 
     

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

 
 

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