Search found 14 matches

by tom69
Sun Feb 27, 2005 11:37 am
Forum: The Code Dump
Topic: Ownerdrawn buttons
Replies: 5
Views: 4641

well i think i see what you mean :-o
well maybe using the wxBitmapButton class ??
i don't really know sorry
:-)
by tom69
Sat Feb 12, 2005 12:31 am
Forum: C++ Development
Topic: wxRegEx woes (wxWidgets 2.5.3)
Replies: 4
Views: 1676

WELL sorry to disturb again but i found my problem,
it's only a compilation problem

MSVC tought that \[ was a escape caracter
in fact i have to write \\[ in order to say MCVC that the string must be \[ at the end..........
by tom69
Sat Feb 12, 2005 12:28 am
Forum: C++ Development
Topic: wxRegEx woes (wxWidgets 2.5.3)
Replies: 4
Views: 1676

i experience a problem too with the RE: my text: [Play("a filename")] and the RE: ^\[Play\("(.*)"\)\]$ i just want to get the filename for example under RAd software it works..... but under wxWidgets as i have to create a wxString, i don't really know how to write it it returns a...
by tom69
Fri Feb 11, 2005 12:38 pm
Forum: C++ Development
Topic: how to detect an instance
Replies: 6
Views: 1913

LOL! great lol yeah you are right! why not use a wxWidgets class lol i did not know it exists but i managed to do what i wanted, with a wxServer, wxConnection and wxClient under windows it's easier, just create a wxServer and in the file association you need to put "%1" as DDE message then...
by tom69
Thu Feb 10, 2005 8:17 pm
Forum: C++ Development
Topic: disable a button
Replies: 3
Views: 1474

is there not a property of wxDialog that says that when it is opened, the parent window is not reachable....
like a messagebox, you can't clic onto the parent window.....
just an idea

look at the help of wx
by tom69
Wed Feb 09, 2005 11:44 pm
Forum: C++ Development
Topic: how to detect an instance
Replies: 6
Views: 1913

exactly what i was looking for!!!! thanks for your answer it's totally clear for me now, thanks a lot ;-)
by tom69
Wed Feb 09, 2005 5:58 pm
Forum: C++ Development
Topic: how to detect an instance
Replies: 6
Views: 1913

lol thanx for the answer and how could i send to the already opened instance the argv parameters for example?? i said winamp and Windows media player because you konw well for example you start listenning to a mp3 under winamp, then you double-clic on another mp3 then no other instance is opened, bu...
by tom69
Wed Feb 09, 2005 12:05 pm
Forum: C++ Development
Topic: how to detect an instance
Replies: 6
Views: 1913

how to detect an instance

hi i explain briefly my program: i'm trying to make an mp3 skinable player... her is my current matter: i would like to test if an instance of it is running and for example in Windows with WMP or winamp, when it is opened, and when you dbl-clic on a mp3 file, it does not open a new instance, it adds...
by tom69
Tue Feb 08, 2005 11:59 am
Forum: C++ Development
Topic: ownerdrawn buttons
Replies: 3
Views: 1288

by tom69
Mon Feb 07, 2005 11:53 pm
Forum: The Code Dump
Topic: Ownerdrawn buttons
Replies: 5
Views: 4641

Ownerdrawn buttons

hi, first of all i would like to precise that i only tested this code under Windows platform, but as it's enough short, i logically think it works under linux or other platforms (if someone could test and say yes or no at this question... it could be grate) then i precise that the image i loaded are...
by tom69
Mon Feb 07, 2005 6:40 pm
Forum: C++ Development
Topic: ownerdrawn buttons
Replies: 3
Views: 1288

yeahhhhhhhhh after looking for how i could do, i remember the function event.Skip(); !!!! it works great!! my buttons are PNG loaded image if you want some code i could share it (the only problem would be that when you clik on the button (on the image so) it acts like a square, not a circle for exam...
by tom69
Mon Feb 07, 2005 6:12 pm
Forum: C++ Development
Topic: ownerdrawn buttons
Replies: 3
Views: 1288

ownerdrawn buttons

does someone has already made a ownerdrawn button (using wxButton class) i tried using EVT_PAINT event to draw mine, but the problem is to change the image when the button is pressed using EVT_LEFT_DOWN and EVT_LEFT_UP, this seems to desactivate the EVT_BUTTON in the parent frame....... so if someon...
by tom69
Fri Dec 03, 2004 5:22 pm
Forum: Platform Related Issues
Topic: tray window in windows
Replies: 2
Views: 1833

???
nobody knows how to do this, getting a Windows window ???
plizzz helppp :cry: lol
thanx!
by tom69
Tue Nov 30, 2004 5:26 pm
Forum: Platform Related Issues
Topic: tray window in windows
Replies: 2
Views: 1833

tray window in windows

hi, i just would like to create a window that automatically sticks with the edges of the screen (like winamp window, or steam windows), but the problem is not the function, i created it, but in windows the tray_window is not taken into account. I can get easily the size of the screen, but i would li...