Search found 37 matches

by atomo
Mon Mar 09, 2015 4:08 pm
Forum: Coding Questions
Topic: Edit a dialog vbox/hbox at runtime
Replies: 2
Views: 1741

Edit a dialog vbox/hbox at runtime

Hi,

Is it possible to add gadgets inside a dialog vbox/hbox after OpenXMLDialog has been called ?
by atomo
Tue May 27, 2014 7:45 pm
Forum: Coding Questions
Topic: Desktop Duplication API (IDXGIOutputDuplication)
Replies: 3
Views: 3447

Re: Desktop Duplication API (IDXGIOutputDuplication)

Thanks for the IID, do you know where can i find the CLSID ?
by atomo
Sun May 25, 2014 4:14 pm
Forum: Coding Questions
Topic: Desktop Duplication API (IDXGIOutputDuplication)
Replies: 3
Views: 3447

Desktop Duplication API (IDXGIOutputDuplication)

Hi,

I'm trying to use the IID_IDXGIOutputDuplication Interface to get an image of my desktop on Windows 8 but i can't find the CLSID and IID to use with CoCreateInstance.
Help needed please, i'm totaly noob with COM :oops:
Here is what i have already done :
Structure DXGI_RATIONAL
Numerator.i ...
by atomo
Fri Nov 29, 2013 5:41 pm
Forum: Coding Questions
Topic: PHP and PB AES cypher
Replies: 4
Views: 1382

Re: PHP and PB AES cypher

You can't read PB AES from PHP because PHP expect a padding, try this code :

Procedure$ Cypher(string$, *key, *iv, bits)
input_size = StringByteLength(string$)
padding = 16 - Mod(input_size, 16)
input_size + padding
*input = AllocateMemory(input_size + SizeOf(Character)) : PokeS(*input, string ...
by atomo
Wed Jul 03, 2013 10:20 am
Forum: Coding Questions
Topic: Webgadget, IE10 and HTML5
Replies: 3
Views: 1130

Re: Webgadget, IE10 and HTML5

You need to enable browser emulation for your app in the registry, here is an example : http://msdn.microsoft.com/en-us/library/ee330730.aspx
by atomo
Mon Oct 29, 2012 11:16 am
Forum: Announcement
Topic: Server move
Replies: 9
Views: 4911

Re: Server move

The link to the French forum on this page isn't working : http://www.purebasic.com/french/links.php
by atomo
Sun Oct 28, 2012 9:55 pm
Forum: Announcement
Topic: Server move
Replies: 9
Views: 4911

Re: Server move

Link to the French forum doesn't work anymore.
by atomo
Fri Sep 09, 2011 11:49 am
Forum: Announcement
Topic: PureBasic 4.60 RC 1
Replies: 41
Views: 23884

Re: PureBasic 4.60 RC 1

- Joint and Effect examples are missing from the help file.
- Attributes for GetJointAttribute() and SetJointAttribute() are not mentionned in the help file.
- Informations concerning graphical console for Linux need to be updated.
by atomo
Wed Sep 07, 2011 3:22 pm
Forum: Feature Requests and Wishlists
Topic: 2D OGRE wrapper
Replies: 3
Views: 2209

Re: 2D OGRE wrapper

What i mean is use the same technique for sprites 3D but with OGRE's meshs.
by atomo
Wed Sep 07, 2011 7:57 am
Forum: Feature Requests and Wishlists
Topic: 2D OGRE wrapper
Replies: 3
Views: 2209

2D OGRE wrapper

Is it possible to replace the current 2D lib by a 2D OGRE wrapper ?
It could allow to have GUI, particles, physics, cameras and sound 3D for 2D games.
by atomo
Mon Aug 15, 2011 10:47 am
Forum: Feature Requests and Wishlists
Topic: DrawClippedImage()
Replies: 2
Views: 1375

DrawClippedImage()

I would like to have the possibility to draw a section of an image like this :

Code: Select all

DrawClippedImage(ImageID, x1, y1, w1, h1, x2, y2, w2, h2[, Alpha])
x1, y1, w1, h1 are the coordinates and dimensions of source image.
x2, y2, w2, h2 are the coordinates and dimensions of destination image.
by atomo
Wed Jul 27, 2011 11:01 am
Forum: Coding Questions
Topic: 4.60B3: Canvas: #PB_EventType_MouseWheel does not work.
Replies: 6
Views: 1494

Re: 4.60B3: Canvas: #PB_EventType_MouseWheel does not work.

This code works for me, the CanvasGadget must also have the focus :
Window = OpenWindow(#PB_Any, 0, 0, 200, 200, "CanvasGadget", #PB_Window_SystemMenu|#PB_Window_ScreenCentered)
If Window
CanvasGadget = CanvasGadget(#PB_Any, 0, 0, 200, 200, #PB_Canvas_Keyboard)
Repeat
Event = WaitWindowEvent(1 ...
by atomo
Wed Jul 27, 2011 9:35 am
Forum: Coding Questions
Topic: 4.60B3: Canvas: #PB_EventType_MouseWheel does not work.
Replies: 6
Views: 1494

Re: 4.60B3: Canvas: #PB_EventType_MouseWheel does not work.

You must use the flag #PB_Canvas_Keyboard on CanvasGadget creation to get MouseWheel events.
by atomo
Wed Jun 22, 2011 4:36 pm
Forum: Coding Questions
Topic: Full mouse functions in normal Window
Replies: 6
Views: 1398

Re: Full mouse functions in normal Window

Try the new CanvasGadget or this include file : http://www.purebasic.fr/english/viewtop ... 12&t=45830
by atomo
Thu Apr 07, 2011 10:07 pm
Forum: Feature Requests and Wishlists
Topic: Autocomplete icons
Replies: 1
Views: 1002

Autocomplete icons

It would be nice to have icons representing each items type (Array, List, Variable, Procedure...) in the autocomplete box.