Search found 2408 matches

by evstevemd
Mon Oct 30, 2023 4:47 pm
Forum: C++ Development
Topic: How close my program using keyboard?
Replies: 13
Views: 5910

Re: How close my program using keyboard?

I suggest you take time to learn the basics of wxWidgets as it seems you miss a lot of basic stuffs
by evstevemd
Fri Oct 27, 2023 4:19 am
Forum: wxDev-C++
Topic: This IDE is quite nice!
Replies: 3
Views: 17516

Re: This IDE is quite nice!

Never used it, but its demise was a sad thing!
by evstevemd
Thu Oct 26, 2023 4:05 pm
Forum: C++ Development
Topic: How close my program using keyboard?
Replies: 13
Views: 5910

Re: How close my program using keyboard?

Unrelated to app not working it is better to use common keys for platform.
For example *nix uses Ctrl/Cmd + Q instead of Alt+X
by evstevemd
Fri Oct 20, 2023 5:29 am
Forum: wxCode
Topic: wxPDFDocument Auto-height
Replies: 10
Views: 19904

Re: wxPDFDocument Auto-height

Thanks Urlich.
The library makes life easier.
I will find time to add CMake as well as an example for this scenario
by evstevemd
Thu Oct 19, 2023 4:03 pm
Forum: wxCode
Topic: wxPDFDocument Auto-height
Replies: 10
Views: 19904

Re: wxPDFDocument Auto-height

Your suggestion worked quiet well but I cannot disable page break on the PDF
Am trying to print and see
by evstevemd
Thu Oct 19, 2023 3:36 pm
Forum: wxCode
Topic: wxPDFDocument Auto-height
Replies: 10
Views: 19904

Re: wxPDFDocument Auto-height

Hi Ulrich, Thanks for the help and corrections. Am going to incorporate those and may be when successful make a sample demonstrating that. While am adjusting things as you suggested, I though I would put more details in what I do I do a receipt which is basically three tables 1. Header table with bu...
by evstevemd
Thu Oct 19, 2023 5:43 am
Forum: wxCode
Topic: wxPDFDocument Auto-height
Replies: 10
Views: 19904

Re: wxPDFDocument Auto-height

This is what am working with now and gives height of 0. I'm still debugging but If I misunderstood anything please correct me wxString html = "<p>THE THEXT HERE</p>"; wxPdfDocument pdf; pdf.SetFont(wxS("Courier"), wxS("N"), 8); pdf.SetTextColour(*wxBLACK); float sizeInM...
by evstevemd
Thu Oct 19, 2023 5:25 am
Forum: wxCode
Topic: wxPDFDocument Auto-height
Replies: 10
Views: 19904

Re: wxPDFDocument Auto-height

I see, it seems to be complex than I thought. Since you have experience with this how do you deal with this? I'm generating PDF for Receipts to be printed on thermal printer. I have hard time dealing with this since it can have as few items as one or as many as 20. Is it possible to have a sample th...
by evstevemd
Wed Oct 18, 2023 3:23 pm
Forum: wxCode
Topic: wxPDFDocument Auto-height
Replies: 10
Views: 19904

Re: wxPDFDocument Auto-height

Thank you.
I will try to find a way forward using this information as guide.
One more question, how do I know line length so that I can calculate number of lines needed? Especially for non-fixed width fonts?
by evstevemd
Wed Oct 18, 2023 8:32 am
Forum: wxCode
Topic: wxPDFDocument Auto-height
Replies: 10
Views: 19904

wxPDFDocument Auto-height

Is there a way to specify only width and let wxPdfDocument calculate height based on text size?
I want to create PDF with 80mm/Portrait width but let the library determine the height. Right now I do not know how and cannot find a sample or documentation.

Any help is apprecuated
by evstevemd
Tue Sep 12, 2023 4:26 pm
Forum: The Code Dump
Topic: wxVLC - a wxWidgets VLC Media Player
Replies: 22
Views: 29448

Re: wxVLC - a wxWidgets VLC Media Player

newbierajk wrote: Tue Sep 12, 2023 2:36 pm Hi Dmax/evstevemd,

I tried the 32bit build in VS 2022 but it gives error as unresolved references for wxwindow and libvlc_new.
Can you post full error stack?
by evstevemd
Mon Sep 11, 2023 6:29 pm
Forum: The Code Dump
Topic: wxVLC - a wxWidgets VLC Media Player
Replies: 22
Views: 29448

Re: wxVLC - a wxWidgets VLC Media Player

Hi, Hi evstevemd, Sorry for my late response. Current it just gives one error as shown below when building in code blocks: ||=== Build: Debug in wxVLC (compiler: GNU GCC Compiler) ===| ld.exe||cannot find -lvlc.lib| ||error: ld returned 1 exit status| ||=== Build failed: 2 error(s), 0 warning(s) (0 ...
by evstevemd
Wed Aug 30, 2023 8:13 am
Forum: The Code Dump
Topic: wxVLC - a wxWidgets VLC Media Player
Replies: 22
Views: 29448

Re: wxVLC - a wxWidgets VLC Media Player

Thank you for all the response. I will check the PB guide. I also tried linking the directory for the libraries and also passing the path for the header files in the compiler search directories, still faced the issue. Is the user Tomay3000 available to answer my query? may be he can shed more light...
by evstevemd
Thu Aug 03, 2023 1:43 pm
Forum: Announcements and Discoveries
Topic: ANN: First release of wxSimpleJSON
Replies: 8
Views: 5457

Re: ANN: First release of wxSimpleJSON

Good work! I have used the nlohmann/json: JSON for Modern C++ library before, but nlohmann/json library builds slow, because it has many C++ template code as I guess. Thank you. Used that before but I didn't like it for preferential reasons. Fell in love with CJSON when developing for embeded devic...
by evstevemd
Thu Aug 03, 2023 1:40 pm
Forum: Announcements and Discoveries
Topic: ANN: First release of wxSimpleJSON
Replies: 8
Views: 5457

Re: ANN: First release of wxSimpleJSON

Done. Seen them, thanks. Will find time and work on them! No rush. My code that uses JSON is not under active development. In general, i'd have to use your library in a real application, before i can answer that. My current remarks were only based on the public API and the sample code. Cool, any ti...