It looks like RegisterHotKey is not implemented on Mac, even though Carbon provides the appropriate API.
If anyone more familiar with wxWidgets inner workings is interested, I'd be glad to collaborate with them on adding this functionality. I can use some wxMac expertise on that.
Search found 34 matches
- Tue Oct 20, 2009 2:49 pm
- Forum: Platform Related Issues
- Topic: [Mac] RegisterHotKey
- Replies: 0
- Views: 578
- Tue Oct 20, 2009 2:47 pm
- Forum: Platform Related Issues
- Topic: [MAC] Changing application title at runtime
- Replies: 5
- Views: 2760
I wanted to modify application name *before starting* it. Anyway, if anyone is interested, one way to do that is by modifying Info.plist file. It's probably not the most graceful method but I haven't found another API to do so and I am not a Carbon/Cocoa expert (and neither are too many people on th...
- Sat Oct 17, 2009 3:25 am
- Forum: Platform Related Issues
- Topic: [MAC] Changing application title at runtime
- Replies: 5
- Views: 2760
[MAC] Changing application title at runtime
Does anyone know of a way to change application title (i.e. what is displayed as a title for "application menu" on the top left, and also in the "Quit XXX" item)?
I found Java API for that, so clearly there is a way to do so, but C/C++ is another matter.
I found Java API for that, so clearly there is a way to do so, but C/C++ is another matter.
- Thu Oct 15, 2009 2:47 pm
- Forum: Platform Related Issues
- Topic: Windows 7
- Replies: 2
- Views: 957
- Thu Oct 15, 2009 1:16 am
- Forum: Platform Related Issues
- Topic: Windows 7
- Replies: 2
- Views: 957
Windows 7
So, before I get myself into the topic - is there any information on building and using wxWidgets on Windows 7?
I.e. - does it work, if so - what are the build environment requirements, are there any general purpose guides on the topic etc?
I.e. - does it work, if so - what are the build environment requirements, are there any general purpose guides on the topic etc?
- Tue Apr 21, 2009 12:58 pm
- Forum: Platform Related Issues
- Topic: [wxMAC] setting focus to parent frame
- Replies: 1
- Views: 673
- Tue Apr 21, 2009 4:06 am
- Forum: Platform Related Issues
- Topic: [wxMAC] setting focus to parent frame
- Replies: 1
- Views: 673
[wxMAC] setting focus to parent frame
As usual, Mac issue. I don't seem to be able to move focus programmatically back to the parent frame after creating a child frame. I am trying to create a little floating window ("baloon") that would move around with the mouse and show info. The problem is - once a child frame is created, ...
- Tue Apr 21, 2009 3:49 am
- Forum: C++ Development
- Topic: Help with wxTaskBarIcon
- Replies: 8
- Views: 1673
Before reporting a bug, you should have tried longer... wxWidgets is certainly not perfect (what is?) but i do trust components, especially if they are used by thousand developers, and for a long time. Maybe is it just a misunderstanding of the way components work. Someone else could have pointed i...
- Fri Apr 03, 2009 8:01 pm
- Forum: C++ Development
- Topic: Help with wxTaskBarIcon
- Replies: 8
- Views: 1673
- Wed Apr 01, 2009 6:50 pm
- Forum: C++ Development
- Topic: Help with wxTaskBarIcon
- Replies: 8
- Views: 1673
Help with wxTaskBarIcon
I am having a problem with wxTaskBarIcon - hopefully someone could enlighten me on the proper use. The following is for Win32 platform. I create task bar icon, which pops up a menu with handler for "Exit" function. In handler for the "exit" item I call Close() on my main applicat...
- Sat Mar 14, 2009 11:16 pm
- Forum: Platform Related Issues
- Topic: Heap corruption when using wxArrayString on Win32
- Replies: 3
- Views: 917
- Sat Mar 14, 2009 5:55 pm
- Forum: Platform Related Issues
- Topic: Heap corruption when using wxArrayString on Win32
- Replies: 3
- Views: 917
Heap corruption when using wxArrayString on Win32
I am getting heap corruption when using wxArrayString on Windows (wxWidgets version is 2.8.9). int num = 0; wxArrayString testLines; while (1) { wxString newLine = wxString::FromAscii("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"); testLines.Add(newLine); if (num == 10) { testLines.RemoveAt((...
- Thu Mar 12, 2009 3:29 am
- Forum: C++ Development
- Topic: Custom events revisited
- Replies: 4
- Views: 923
Found the problem, I'll leave it here in case anyone else hits it. Examples use wxCommandEvent(commandType, id) - note the order of arguments to a constructor. I used wxEvent(id, commandType) :) It would be nice to have a consistent calling convention to event constructors, or at least different typ...
- Thu Mar 12, 2009 2:11 am
- Forum: C++ Development
- Topic: Custom events revisited
- Replies: 4
- Views: 923
DECLARE_EVENT_TYPE does not go inside the event table, it is a declaration so goes in a header. It is in a header, it is not in the event table (it is surrounded by BEGIN_DECLARE_EVENT_TYPES()/END_DECLARE_EVENT_TYPES(), not by event table BEGIN_EVENT_TABLE/END_EVENT_TABLE In your event table, put E...
- Thu Mar 12, 2009 1:00 am
- Forum: C++ Development
- Topic: Custom events revisited
- Replies: 4
- Views: 923
Custom events revisited
I see that there is another question on custom events, but mine is even more basic, perhaps. Incidentally, I also have a kind of communication event I'd like to define. I defined everything according to "cookbook" (and it looks like it matches the code in other post too). However, my custo...