Search found 22 matches
- Mon Jul 25, 2022 8:35 am
- Forum: General Development
- Topic: OpenGL Full-Screen "Exclusive" Mode?
- Replies: 0
- Views: 96821
OpenGL Full-Screen "Exclusive" Mode?
Hi: I've been researching the topic of "exclusive" full-screen rendering with the hope that I can increase the performance of my full-screen windowed OpenGL canvas in wxWidgets. It seems the main performance boost comes from having direct access to the display and having compositing disabl...
- Fri Aug 27, 2021 7:34 pm
- Forum: C++ Development
- Topic: Multiline text control with NO WRAP and without scrollbars?
- Replies: 4
- Views: 4935
Re: Multiline text control with NO WRAP and without scrollbars?
For reference, the only way I could get text to not wrap in wxHtmlWindow was to put my entries into table cells (TD) with the NOWRAP parameter. Example: wHtml.AppendToPage("<table border=0 cellspacing=0 cellpadding=0><td nowrap>some text here</td></table>"); wxHTML tags/params reference: h...
- Fri Aug 27, 2021 4:35 pm
- Forum: C++ Development
- Topic: Multiline text control with NO WRAP and without scrollbars?
- Replies: 4
- Views: 4935
Re: Multiline text control with NO WRAP and without scrollbars?
Using wxHtmlWindow solved my my problem and allows me to use my custom scrollbars. Thanks!
- Tue Aug 24, 2021 10:01 pm
- Forum: C++ Development
- Topic: Multiline text control with NO WRAP and without scrollbars?
- Replies: 4
- Views: 4935
- Tue Aug 24, 2021 7:10 pm
- Forum: C++ Development
- Topic: Multiline text control with NO WRAP and without scrollbars?
- Replies: 4
- Views: 4935
Multiline text control with NO WRAP and without scrollbars?
Hi: I recently themed out my program and was looking at options for removing scrollbars from wxTextCtrl. I have a small progress/log wxTextCtrl that is read-only and don't want either of the scrollbars to be visible. I know it's possible to hide the vertical scrollbar but a horizontal scrollbar appe...
- Sat Jul 31, 2021 7:08 pm
- Forum: C++ Development
- Topic: wxGrid: Column Separator/Divider Width?
- Replies: 3
- Views: 2124
Re: wxGrid: Column Separator/Divider Width?
Hi, What wx version do you use? Can you confirm it with grid sample? Also try it with wx Git master... Thank you. wxWidgets 3.1.5 I can't provide a demo but increasing WXGRID_LABEL_EDGE_ZONE will increase the width for separator detection on column headers, which is exactly what I wanted. I find 5 ...
- Sat Jul 31, 2021 2:57 am
- Forum: C++ Development
- Topic: wxGrid: Column Separator/Divider Width?
- Replies: 3
- Views: 2124
Re: wxGrid: Column Separator/Divider Width?
I had the wrong spot in the above post. The real culprit was here in "include\wx\generic\grid.h":
Code: Select all
#define WXGRID_LABEL_EDGE_ZONE 2
- Sat Jul 31, 2021 1:46 am
- Forum: C++ Development
- Topic: wxGrid: Column Separator/Divider Width?
- Replies: 3
- Views: 2124
wxGrid: Column Separator/Divider Width?
Hi: wxWidgets 3.1.5 I was looking for a way to change the column separator size and kinda lol'ed when I found this in the source (headerctrlg.cpp): // TODO: don't hardcode sensitivity const int separatorClickMargin = FromDIP(8); I assume that, outside of modifying the source, a way to set the separa...
- Mon Jun 28, 2021 9:24 am
- Forum: C++ Development
- Topic: Receiving System Video (Hardware) Events?
- Replies: 3
- Views: 2084
Re: Receiving System Video (Hardware) Events?
Thanks Mr. Max!
- Mon Jun 28, 2021 8:13 am
- Forum: C++ Development
- Topic: Receiving System Video (Hardware) Events?
- Replies: 3
- Views: 2084
Receiving System Video (Hardware) Events?
Hi: Does WxW have any built-in event hooks for receiving video device/hardware events? More specifically, I'd like to have a callback method for when the number of displays has changed. I can do it manually with a thread that checks the number of displays but I was trying to avoid that extra overhea...
- Sun Jun 03, 2018 5:33 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Removing Sensitive Paths from Executable (.exe)
- Replies: 12
- Views: 12069
Re: Removing Sensitive Paths from Executable (.exe)
Necro-ing this thread to add a tidbit. Defining/setting wxDEBUG_LEVEL to zero in setup.h for my build got rid of most of the path strings in my executable. To get the remainder, I needed to also define/set wxUSE_LOG to zero. An example of this requirement was for the following: wxOleInitialize <MY_B...
- Wed Feb 08, 2017 11:05 pm
- Forum: C++ Development
- Topic: wxGrid: Click Events Between Columns (Resizers)
- Replies: 3
- Views: 1681
Re: wxGrid: Click Events Between Columns (Resizers)
I can't think of a really clean way either. But when i run the grid demo that comes with wxWidgets, resizing the columns does not clear the selection though. Just clicking into a column header does. I guess your grid is in "row-selection" mode? The cleanest way i could think of would be t...
- Wed Feb 08, 2017 5:42 pm
- Forum: C++ Development
- Topic: wxGrid: Click Events Between Columns (Resizers)
- Replies: 3
- Views: 1681
wxGrid: Click Events Between Columns (Resizers)
Hi: I'm trying to ensure that my grid has a selected row at all times (when one exists). By wxWidgets default, when a row is selected, clicking on the column resizers (between cell columns) will de-select selected rows. I have row dragging disabled, so this may be happening when clicking row divider...
- Sat Jan 14, 2017 11:37 am
- Forum: C++ Development
- Topic: wxGrid: Selected Row Highlighting / Bordering
- Replies: 3
- Views: 2176
Re: wxGrid: Selected Row Highlighting / Bordering
Thanks for the responses and suggestions. I had a feeling that I would need to bust out some custom code. The reason that I want the GridCursor to highlight the entire row, rather than just the individual cell, is because of the following: [1] I'm doing all row-based operations in my application via...
- Sat Jan 14, 2017 1:40 am
- Forum: C++ Development
- Topic: wxGrid: Selected Row Highlighting / Bordering
- Replies: 3
- Views: 2176
wxGrid: Selected Row Highlighting / Bordering
Greetings: As always, great library :). Question: without changes to the existing code-base, is it possible to force the "cell bordering / highlight pen" to wrap around an entire selected row, rather than the cell that was selected? By setting a grid to "wxGridSelectColumns" mode...