Search found 46 matches

by whizza
Fri Dec 03, 2010 10:07 am
Forum: Feature Requests and Wishlists
Topic: DesktopCaretX() and DesktopCaretY()
Replies: 0
Views: 391

DesktopCaretX() and DesktopCaretY()

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.
by whizza
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...
by whizza
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.
by whizza
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
by whizza
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.
by whizza
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
by whizza
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
by whizza
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.
by whizza
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()
by whizza
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...
by whizza
Mon Nov 19, 2007 9:54 am
Forum: Coding Questions
Topic: DesktopCursorX() DesktopCursorY()
Replies: 8
Views: 1207

By 'data entry cursor', I mean the blinking vertical line
which appears when you use the keyboard to enter
information into a field on a form. It shows where the
next character you type will appear.
by whizza
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?
by whizza
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...
by whizza
Fri Nov 16, 2007 5:12 pm
Forum: Coding Questions
Topic: Newbie needs help with drawing a line!
Replies: 12
Views: 2060

Thank you all for your help. Much appreciated.
by whizza
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...