Search found 6 matches

by Frank Webb
Fri May 16, 2014 10:28 pm
Forum: Windows
Topic: Popup Menu Behaviour
Replies: 1
Views: 1662

Re: Popup Menu Behaviour

Just an update to my post on Popup menus, if I had followed my own rule then I would not have had any trouble.
The mouse buttons should be processed in the lowest level active window where the event occurs and where you want the action to be relevant and in my example the actual active window is the ...
by Frank Webb
Wed May 14, 2014 5:30 am
Forum: Windows
Topic: Popup Menu Behaviour
Replies: 1
Views: 1662

Popup Menu Behaviour

Popup menu idiosyncrasies

Using Purebasic 32 bit Version 5.22 on Windows 7 Home Premium 64 bit version.
Some further information following on from Kukulkan's posting about Popup menus on Image
gadgets in the Mac OS forum on this site.

I've been using Purebasic for over 8 years now and have used ...
by Frank Webb
Mon May 09, 2011 4:48 am
Forum: Windows
Topic: Windows 7 LVM_GETITEMPOSITION
Replies: 7
Views: 3085

Re: Windows 7 LVM_GETITEMPOSITION

Hello Rashad;

Many thanks once again, I loaded your program and confirmed that it worked with my PB installation (Version 4.51)
The inclusion of #LVS_AUTOARRANGE did the trick, everything now works in Windows 7 as it used to under Windows XP.

It's interesting that under Windows XP it was not ...
by Frank Webb
Sun May 08, 2011 8:11 am
Forum: Windows
Topic: Windows 7 LVM_GETITEMPOSITION
Replies: 7
Views: 3085

Re: Windows 7 LVM_GETITEMPOSITION

Thanks RASHAD but the problem occurs with a "Virtual List-View" control (or ListIconGadget) that uses the OWNERDATA style not the OWNERDRAWN.

The LVM_GetItemPosition works correctly with the normal ListIconGadget control without OWNERDATA (Virtual List-View) style, changing it to a OWNER date style ...
by Frank Webb
Sun May 08, 2011 3:25 am
Forum: Windows
Topic: Windows 7 LVM_GETITEMPOSITION
Replies: 7
Views: 3085

Windows 7 LVM_GETITEMPOSITION

Hello All;

I have the same problem as Gaute as posted in the Microsoft MSDN forum. The LVM_GETITEMPOSITION function does not work for a List-View control declared as LIST or REPORT with OWNERDATA style in Windows 7 32 bit or 64 bit (I've tried both).

It appears to be a problem introduced with the ...
by Frank Webb
Mon Apr 12, 2010 8:15 am
Forum: Coding Questions
Topic: Extracting regular expressions while keeping track
Replies: 3
Views: 1580

Re: Extracting regular expressions while keeping track

I know this reply is a bit late!

I had the same problem and tried a number of ways to obtain the starting character position of the first pattern match of a regular expression in a given string.

Using the mid(inputstring$,1,1) technique to build up a string character by charater and passing this ...