Search found 137 matches

by gabriel
Sat Jun 18, 2016 1:23 pm
Forum: Coding Questions
Topic: using the new CGI functions
Replies: 0
Views: 1201

using the new CGI functions

Hello:
I like to transform an old program using the CGI external lib to a new one using the new built-in CGI functions, I'm completely newbie with CGI:

Code: Select all

CGI_In()
string$=CGI_Val("string")
string$=UCase(string$) 
CGI_Header()
CGI_Out(string$)
End
Thank you
by gabriel
Tue Jul 19, 2011 8:54 pm
Forum: Coding Questions
Topic: image background for string gadget possible??
Replies: 10
Views: 1847

Re: image background for string gadget possible??

Wonderful!!

Thank you, both!!
by gabriel
Tue Jul 19, 2011 6:38 pm
Forum: Coding Questions
Topic: image background for string gadget possible??
Replies: 10
Views: 1847

image background for string gadget possible??

Hello:
just for curiosity reasons, is it possible to have an image background for a string gadget??

thanks
by gabriel
Fri Jun 03, 2011 8:37 pm
Forum: Coding Questions
Topic: conversion transparent image to sprite not working
Replies: 4
Views: 1573

Re: conversion transparent image to sprite not working

Just to make sure:
can I understand that original transparent color in picture is not taken into account in sprites??
To Rashad: only the second method worked with me
by gabriel
Thu Jun 02, 2011 5:33 am
Forum: Coding Questions
Topic: conversion transparent image to sprite not working
Replies: 4
Views: 1573

Re: conversion transparent image to sprite not working

Thank you very much RASHAD :D
by gabriel
Wed Jun 01, 2011 7:05 pm
Forum: Coding Questions
Topic: conversion transparent image to sprite not working
Replies: 4
Views: 1573

conversion transparent image to sprite not working

hello:
newbie with sprites, I'm trying to transform a image with transparent fileds to sprite, I didn't succeed

EnableExplicit
UsePNGImageDecoder()

Define.l Event, WindowID, GadgetID, EventType, EventMenu, dc
Global Font1.l, Font2.l,hdc.l
Define comport.s, i.a, r.u, teta.f, Pen1.l, Pen2.l, Pen3.l ...
by gabriel
Fri May 27, 2011 10:34 am
Forum: Coding Questions
Topic: how to set the height of row of a listicon?
Replies: 4
Views: 1505

Re: how to set the height of row of a listicon?

Fantastic!!
Thank you all :D
by gabriel
Thu May 26, 2011 8:37 pm
Forum: Coding Questions
Topic: how to set the height of row of a listicon?
Replies: 4
Views: 1505

how to set the height of row of a listicon?

hello:

I got this code from this forum and changed it a little, it uses Gnozal PureColor to color a listicon and change the font.
my problem is that with big characters size, the standard height of row become too small, so how to increase/change it?

thanks
Global FontID1 = LoadFont(0, "Arial", 15 ...
by gabriel
Thu Apr 14, 2011 4:10 pm
Forum: Coding Questions
Topic: how to remap keyboard?
Replies: 12
Views: 2517

Re: how to remap keyboard?

Hi:
thanks RASHAD:
I tried your code and changed slightly, it works, except I don't know the VK number for "<" (on a french layout keyboard)

#WH_KEYBOARD_LL = 13
#INPUT_HARDWARE = 2
#INPUT_KEYBOARD = 1
#KEYEVENTF_UNICODE = $4
#KEYEVENTF_SCANCODE = $8

Global myKeyHook,Quit

Structure ...
by gabriel
Wed Apr 13, 2011 7:09 pm
Forum: Coding Questions
Topic: how to remap keyboard?
Replies: 12
Views: 2517

Re: how to remap keyboard?

KeyTweak, like others (SharpKeys, KeyExtender, etc...), accept only english keyboard layout, also the characters £,µ,<,> don't figure in the list of available keys.
Apparently, I should resign :(
by gabriel
Wed Apr 13, 2011 1:25 pm
Forum: Coding Questions
Topic: how to remap keyboard?
Replies: 12
Views: 2517

Re: how to remap keyboard?

Thank you guys:
The situation is the following:
on my french layout keyboard, i don't have the "<" and ">" keys, I use for thar alt+60 and alt+62.
In the same time, I use very rarely "£" and "µ", so I thought may be it's possible to remap £ and µ to < and >.
I tried SharpKeys and similar, they want ...
by gabriel
Tue Apr 12, 2011 8:37 pm
Forum: Coding Questions
Topic: how to remap keyboard?
Replies: 12
Views: 2517

how to remap keyboard?

hello:
is it possible to remap some keys of keyboard, for example, on my french layout keyboard, I like to remap the "£" to "<", and "µ" to ">".
the program should be resident and active for all subsequent windows applications.
Thanks
by gabriel
Mon Apr 11, 2011 11:23 am
Forum: Coding Questions
Topic: changing display contrast, Gamma, brightness programmtically
Replies: 4
Views: 1045

Re: changing display contrast, Gamma, brightness programmtic

Hi LUIS again:
is it possible to control independently the contrast and the brightness and the Gamma using your code??

Thanks
by gabriel
Thu Apr 07, 2011 7:06 pm
Forum: Coding Questions
Topic: Capture ListIconGadget
Replies: 5
Views: 1251

Re: Capture ListIconGadget

You can use a graphic capture software for that like faststone
http://www.faststone.org/FSCapturerDownload.htm
if you want to use from your PB program, you should search for a similar which can be run in command line mode. (so you can use RunProgram ...)