Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Custom main window with transparency

Author
Message
Xzod
15
Years of Service
User Offline
Joined: 21st Jan 2009
Location:
Posted: 3rd Nov 2009 16:16
Hello,

is it possible to create main window in custom manner, non square with transparent parts ? i mean a blank transparent window where i apply an image and specify that black pixels (by example) are transparent. and in trasparent part we can see the ms windows desktop.

is that possible with gdk ?
Drowneath
15
Years of Service
User Offline
Joined: 22nd Jun 2009
Location: In your eyes
Posted: 3rd Nov 2009 18:27
I think you can do anything with the window unless you don't know much about the Win32 API.

You can include "globstruct.h" and do anything you want with the window by passing g_pGlob->hWnd as the main window HWND.

if(asleep) sheep++;

Login to post a reply

Server time is: 2024-10-06 01:26:05
Your offset time is: 2024-10-06 01:26:05