I have a single combobox that i need to detect just a change in index for (ie: the user selects a new entry in the combobox).
I tried with EventType() and #PB_EventType_Change but that doesn't seem to work.
Any ideas?
Tim
Search found 36 matches
- Fri Mar 25, 2005 11:32 pm
- Forum: Coding Questions
- Topic: ComboBox and detecting index change
- Replies: 10
- Views: 2547
- Sun Mar 06, 2005 9:54 am
- Forum: Coding Questions
- Topic: Thread problem
- Replies: 2
- Views: 987
- Sat Mar 05, 2005 11:47 pm
- Forum: Coding Questions
- Topic: Callback, Windows being stupid? (or PB?)
- Replies: 5
- Views: 1481
Callback, Windows being stupid? (or PB?)
Procedure CheckFocus(WinID.l, message, wParam, lParam)
Result = #PB_ProcessPureBasicEvents
Select message
Case #WM_SETFOCUS
Debug "got focus"
Case #WM_KILLFOCUS
Debug "lost focus"
EndSelect
ProcedureReturn Result
EndProcedure
A simple callback to check focus.. you'd think...
What ...
- Sat Mar 05, 2005 11:14 pm
- Forum: Coding Questions
- Topic: Thread problem
- Replies: 2
- Views: 987
Thread problem
My app has a thread running that checks memory addresses (of another app) from a linked list.
As long as i am in my own app, the thread runs fine.
The moment i switch to the app of which the thread is looking at the memory addresses, the thread will work still.. but after about a minute, the ...
As long as i am in my own app, the thread runs fine.
The moment i switch to the app of which the thread is looking at the memory addresses, the thread will work still.. but after about a minute, the ...
- Wed Feb 23, 2005 4:32 am
- Forum: Coding Questions
- Topic: Timing a thread
- Replies: 3
- Views: 1115
- Wed Feb 23, 2005 3:13 am
- Forum: Coding Questions
- Topic: Timing a thread
- Replies: 3
- Views: 1115
Timing a thread
I need to execute stuff in a seperate thread about very two seconds, instead of having it repeat over and over without pause.
i tried with ElapsedMillisecs() and this works, until one goes to a different program and come back, then it has magically stopped timing which makes my thread not do ...
i tried with ElapsedMillisecs() and this works, until one goes to a different program and come back, then it has magically stopped timing which makes my thread not do ...
- Mon Feb 21, 2005 12:48 am
- Forum: Coding Questions
- Topic: byte in PureBasic .. -127 to 127?
- Replies: 2
- Views: 1101
byte in PureBasic .. -127 to 127?
Isn't a byte supposed to be 0 to 255?
I am trying to write an app that searches in memory of a process (this all works just fine).. but when i search for '100' in memory (64 in hex) Purebasic tells me it's -56 ..
I am mystified here
Tim
I am trying to write an app that searches in memory of a process (this all works just fine).. but when i search for '100' in memory (64 in hex) Purebasic tells me it's -56 ..
I am mystified here
Tim
- Wed Jan 12, 2005 6:54 pm
- Forum: Coding Questions
- Topic: Mouse click detection
- Replies: 11
- Views: 3522
- Wed Jan 12, 2005 6:43 pm
- Forum: Coding Questions
- Topic: Mouse click detection
- Replies: 11
- Views: 3522
- Wed Jan 12, 2005 6:40 pm
- Forum: Coding Questions
- Topic: Mouse click detection
- Replies: 11
- Views: 3522
- Wed Jan 12, 2005 6:03 pm
- Forum: Coding Questions
- Topic: Mouse click detection
- Replies: 11
- Views: 3522
So, i am gathering there is no easy way to do this. A simple MouseDown() function ala Blitz isn't possible in PureBasic without going the difficult way. Pretty useless if you ask me. PureBasic is a nice language for simple apps, but that seems to be the extend of it.. pity.
Mind you, i wouldn't be ...
Mind you, i wouldn't be ...
- Wed Jan 12, 2005 6:10 am
- Forum: Coding Questions
- Topic: Mouse click detection
- Replies: 11
- Views: 3522
Mouse click detection
I need to detect mouse click, and then continuously (unlike PB's screwed up Event system that gives me ONE event, no matter how long you hold down or how hard you hit your mouse with a brick (which i started doing after seeing how screwed up PB's mouse event handling is))
I also do not want to use ...
I also do not want to use ...
- Mon Jan 03, 2005 7:29 am
- Forum: Coding Questions
- Topic: Structures and such
- Replies: 5
- Views: 1423
- Mon Jan 03, 2005 7:01 am
- Forum: Coding Questions
- Topic: Structures and such
- Replies: 5
- Views: 1423
Structures and such
I've been fighting with this all day now.. please assist if possible.
In delphi i'd do this:
TGridPoint = record
P : TGLCoord;
Value : FLoat;
end;
PGridPoint = ^TGridPoint;
TGridCube = record
GridPoint : Array [0..7] of PGridPoint;
end;
(^ in the Delphi code is a pointer)
Now, i have ...
In delphi i'd do this:
TGridPoint = record
P : TGLCoord;
Value : FLoat;
end;
PGridPoint = ^TGridPoint;
TGridCube = record
GridPoint : Array [0..7] of PGridPoint;
end;
(^ in the Delphi code is a pointer)
Now, i have ...
- Mon Jul 26, 2004 4:52 am
- Forum: Coding Questions
- Topic: Multi-line StringGadget and 'going to the bottom'
- Replies: 4
- Views: 2534