Gadgets in Desktop
BlitzPlus Forums/BlitzPlus Programming/Gadgets in Desktop
| ||
Is it possible to put a gadget (like a textfield) in the desktop and have the user be able to access it? Ive tried, and it appears but cannot be interacted with. PS Anybody know how to make blitzbrowse block popups? If we could figure that out we could go crazy with it. |
| ||
Here's a little demo. [Code] MyWindow=CreateWindow("",100,100,400,20,0,0) MyField=CreateTextField(1,1,398,18,MyWindow) SetGadgetText MyField,"Type what you like in here..." ; Click on the edge of the box then ESCAPE to quit. Repeat If KeyHit(1) Then End Forever End [/Code] |
| ||
Yeah. Is there any way to prevent it from putting a bar in the status bar at the bottom of the screen? I want it to live in the desktop. |
| ||
Create a tool window (16) and then parent your desktop window to it. Tool windows don't show in the taskbar. |
| ||
quick code sample? |
| ||
tool = CreateWindow("", 0, 0, 0, 0, 0, 16) MyWindow=CreateWindow("",100,100,400,20,tool,0) |
| ||
thanks eikon. |
| ||
Im working up a web browser that actually "lives" in the users desktop and will allow them to surf the web as well as launch frequently used apps. I just have to find out how to make it not get in the way and not look so harshly contrasted with the desktop background. I could make my own background for it that kind of did a cool sloping thing. Hmm. |
| ||
I did one a while ago that created a task bar-type thing only it was a verticle one on the right of the desktop. There is an API call (in archives I think) that sets the window to always be on top of everything else which comes in quite handy. |