DesktopCaretX() and DesktopCaretY()
Same as DesktopMouseX() and DesktopMouseY()
but gives location of Caret instead of Mouse.
The caret is the blinking object that is used to enter text.
When you type, the letter appears at the caret, and the
caret moves forward by 1 space.
Search found 46 matches
- Fri Dec 03, 2010 10:07 am
- Forum: Feature Requests and Wishlists
- Topic: DesktopCaretX() and DesktopCaretY()
- Replies: 0
- Views: 391
- Wed Dec 01, 2010 4:47 pm
- Forum: Coding Questions
- Topic: linked to missing export USER32.DLL
- Replies: 1
- Views: 595
linked to missing export USER32.DLL
My program works ok on Windows XP and Windows 7 But if I run the program on Windows 98, 2 alerts appear C:\WINDOWS\Desktop\Myprog.exe A device attached to the system is not functioning and Error Starting Program The Myprog.exe file is linked to missing export USER32.DLL:SetLayeredWindowAttributes Is...
- Tue Nov 23, 2010 9:45 am
- Forum: Coding Questions
- Topic: Sending data to a USB device
- Replies: 6
- Views: 1366
Re: Sending data to a USB device
I wish....
The manufacturer has told me that this particular display doesn't have a virtual com port driver.
They do have some displays that have a virtual com port driver, but not this one.
The manufacturer has told me that this particular display doesn't have a virtual com port driver.
They do have some displays that have a virtual com port driver, but not this one.
- Mon Nov 22, 2010 11:46 pm
- Forum: Coding Questions
- Topic: Sending data to a USB device
- Replies: 6
- Views: 1366
Re: Sending data to a USB device
The device is a Posiflex PD-2605 USB pole display.
http://www.posiflexuk.com/ebrochures/PD%202600.pdf
http://www.posiflexuk.com/ebrochures/PD%202600.pdf
- Mon Nov 22, 2010 10:22 pm
- Forum: Coding Questions
- Topic: Sending data to a USB device
- Replies: 6
- Views: 1366
Sending data to a USB device
I need to send a few bytes of data to a device connected to one of my PC's USB ports.
Any guidance on how this can be done with PB greatly appreciated.
Any guidance on how this can be done with PB greatly appreciated.
- Tue Nov 09, 2010 10:38 pm
- Forum: Coding Questions
- Topic: Newbie needs help with drawing a line!
- Replies: 12
- Views: 2060
Re: Newbie needs help with drawing a line!
Thanks once again ABBKlaus
- Tue Nov 09, 2010 10:25 am
- Forum: Coding Questions
- Topic: Newbie needs help with drawing a line!
- Replies: 12
- Views: 2060
Re: Newbie needs help with drawing a line!
Hi ABBKlaus
Any clues as to why the nice red line no longer works in PB 4.xx ?
Regards
Tony
Any clues as to why the nice red line no longer works in PB 4.xx ?
Regards
Tony
- Wed Nov 19, 2008 12:56 pm
- Forum: Coding Questions
- Topic: Map network drive
- Replies: 3
- Views: 2155
Map network drive
Any guidance/sample code on how to map a network drive like
NET USE Z: \\XPDEVPC\XPDEVDIR
using PB on Win XP greatly appreciated.
NET USE Z: \\XPDEVPC\XPDEVDIR
using PB on Win XP greatly appreciated.
- Tue Apr 15, 2008 6:03 pm
- Forum: Coding Questions
- Topic: current active window
- Replies: 2
- Views: 588
current active window
How can I latch my PureBasic 4.10 program
onto the current active window (which was
not created by my program) so that I can
ascertain properties of the current active
window such as WindowX() and WindowY()
onto the current active window (which was
not created by my program) so that I can
ascertain properties of the current active
window such as WindowX() and WindowY()
- Mon Nov 19, 2007 12:42 pm
- Forum: Coding Questions
- Topic: DesktopCursorX() DesktopCursorY()
- Replies: 8
- Views: 1207
Thanks for that. I think the GetCaretPos Function in the windows API is what I need though. The GetCaretPos function copies the caret's position to the specified POINT structure. Syntax BOOL GetCaretPos( LPPOINT lpPoint ); Parameters lpPoint [out] Pointer to the POINT structure that is to receive th...
- Mon Nov 19, 2007 9:54 am
- Forum: Coding Questions
- Topic: DesktopCursorX() DesktopCursorY()
- Replies: 8
- Views: 1207
- Sun Nov 18, 2007 5:40 pm
- Forum: Coding Questions
- Topic: DesktopCursorX() DesktopCursorY()
- Replies: 8
- Views: 1207
DesktopCursorX() DesktopCursorY()
Is there an equivalent of DesktopMouseX() DesktopMouseY()
for the data entry cursor?
for the data entry cursor?
- Fri Nov 16, 2007 7:52 pm
- Forum: Coding Questions
- Topic: Newbie needs help with drawing a line!
- Replies: 12
- Views: 2060
Hi netmaestro Thanks for the code. I'm trying to fully understand what this code does. Most of it makes sense, but why do we need the PokeL() ? Also, is it possible to draw a transparent line to make the original desktop visible again? Global *mem *mem = AllocateMemory(1024) Procedure.l DesktopOutpu...
- Fri Nov 16, 2007 5:12 pm
- Forum: Coding Questions
- Topic: Newbie needs help with drawing a line!
- Replies: 12
- Views: 2060
- Thu Nov 15, 2007 5:57 pm
- Forum: Coding Questions
- Topic: Newbie needs help with drawing a line!
- Replies: 12
- Views: 2060
Newbie needs help with drawing a line!
Hi, I'm new to windows programming. I'm trying to write a program that will draw a line from screen position 0, 0 to 1023, 767. (IE. a diagonal line from the top left to the bottom right.) The bit I'm having trouble with is that I would like the line drawn on top of whatever is on the screen at that...