Search found 11 matches

by mikroman
Sat Aug 27, 2005 2:14 pm
Forum: Windows
Topic: ListIconGadget Column Order
Replies: 2
Views: 1642

Here is the finished Procedures, any improvements or additions would be appreciated.

; ListIcon Procedures

Dim ColumnOrder.l(20) ; Holds Number Of Columns In ListIcon Gadget

#LVM_SETCOLUMNORDERARRAY=4154
#LVM_GETCOLUMNORDERARRAY=4155

Procedure SetListIconColumnWidth(Gadget,ColumnIndex ...
by mikroman
Fri Aug 26, 2005 10:06 pm
Forum: Windows
Topic: ListIconGadget Column Order
Replies: 2
Views: 1642

Hi,

I appear to me making progress with this, the following unfinished code seams to work:

#LVM_SETCOLUMNORDERARRAY=4154
#LVM_GETCOLUMNORDERARRAY=4155

Procedure ListIcon_GetColumnOrderArray(Gadget,columns)

Dim num_columns(columns)

SendMessage_(GadgetID(Gadget),#LVM_GETCOLUMNORDERARRAY ...
by mikroman
Thu Aug 25, 2005 1:18 pm
Forum: Windows
Topic: ListIconGadget Column Order
Replies: 2
Views: 1642

ListIconGadget Column Order

Hi,

I am trying to find a way of retrieving/setting the order of the columns in a ListIcon Gaget, but I need some help.

Can someone tell me how I use these commands:

LVM_GETCOLUMNORDERARRAY
LVM_SETCOLUMNORDERARRAY

I can't figure out how to send/retrieve the required information.

Thanks for any ...
by mikroman
Fri Feb 18, 2005 6:02 pm
Forum: Feature Requests and Wishlists
Topic: Text Clipping
Replies: 7
Views: 2144

That's great news Fred :D

PB keeps getting better with each release, keep up the good work.
by mikroman
Fri Feb 18, 2005 4:53 pm
Forum: Feature Requests and Wishlists
Topic: Text Clipping
Replies: 7
Views: 2144

Problem Solved!

I found a way round my problem by using:

ExtTextOut (Windows Gdi32.lib)

This command lets you output text using a clipping zone, it would be nice if PB could add an easier to use version of this for people who either can't, or don't wand to access the Windows OS. :D
by mikroman
Sun Feb 13, 2005 10:32 pm
Forum: Feature Requests and Wishlists
Topic: Text Clipping
Replies: 7
Views: 2144

TextLength only returns the length of the string, it won't help you to restrict how much is printed.

Maybe the answer would be if PB allowed you to set clipping zones on the screen, that way you could restrict text and graphics within that area. Locomotive BASIC on the Amstrac CPC had a similar ...
by mikroman
Sun Feb 13, 2005 12:12 am
Forum: Feature Requests and Wishlists
Topic: Text Clipping
Replies: 7
Views: 2144

Text Clipping

Would it be possible to add a feature to the DrawText command so you could restrict your string to a given length in pixels.

For example:

DrawText(Text$,Length)

This way you could restrict your string to say 80 pixels, much more accurate than using the Mid command. :)
by mikroman
Sun Sep 19, 2004 1:06 pm
Forum: Windows
Topic: How do I Restart or Shutdown Windows?
Replies: 3
Views: 2317

lol :D

Thanks for the help.
by mikroman
Sun Sep 19, 2004 12:12 pm
Forum: Windows
Topic: How do I Restart or Shutdown Windows?
Replies: 3
Views: 2317

How do I Restart or Shutdown Windows?

Does anyone know what system command to use to Shutdown or Restart Windows (compatible with all versions).

I need to do this from full screen mode without any Windows Dialog Boxes appearing.

Thanks for any help. :)
by mikroman
Sat Sep 11, 2004 10:37 pm
Forum: Feature Requests and Wishlists
Topic: Two small feature requests
Replies: 4
Views: 1408

Thanks for the welcome guys :D

Thanks for the info GreenGiant, the icon info is what I had in mind but with the ability to display a bitmap image vertically down the side of a menu like EmuLoader does.

I was going to use sprites so I could rotate the text for display on a vertical arcade monitor ...
by mikroman
Sat Sep 11, 2004 2:15 pm
Forum: Feature Requests and Wishlists
Topic: Two small feature requests
Replies: 4
Views: 1408

Two small feature requests

Hi,

I'm new to PB having migrated from Blitz+ and am finding the language to be superior in every way, however I would like to see the following two items added:

1) The ability to print text vertically.

2) A function to paste bitmap images within menus.

thanks for looking :D