Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


WIN32 how to put an image on the desktop without a window?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
4 replies to this topic

#1 noatom   Members   -  Reputation: 789

Like
1Likes
Like

Posted 26 January 2014 - 10:52 AM

Suppose my win32 app is minimized...how would should I go about displaying an image on the desktop? Something similar to the clock in this picture:

 

Widnows-8-Metro-Start-Widget.png



Sponsor:

#2 Endurion   Crossbones+   -  Reputation: 3922

Like
4Likes
Like

Posted 26 January 2014 - 11:49 AM

That is a window. There's nothing in Win32 without a HWND.

 

You can disable all borders and the caption via window styles.


Fruny: Ftagn! Ia! Ia! std::time_put_byname! Mglui naflftagn std::codecvt eY'ha-nthlei!,char,mbstate_t>

#3 frob   Moderators   -  Reputation: 27963

Like
2Likes
Like

Posted 26 January 2014 - 11:51 AM

It is a window. While it is typical to include borders, a title bar, and other features it isn't required.

There are many articles like this that can probably fill in the pieces you don't know.

Check out my book, Game Development with Unity, aimed at beginners who want to build fun games fast.

Also check out my personal website at bryanwagstaff.com, where I write about assorted stuff.


#4 fir   Members   -  Reputation: -460

Like
1Likes
Like

Posted 26 January 2014 - 12:31 PM

You could also make window any shape it can even get hole in it - but this is still a window - other way is to get handle to desktop (which is i think also some kind of semi-window and draw to ist contents but it will be overwritten, as to detail check appriopriate tutorials and winapi documentation



#5 noatom   Members   -  Reputation: 789

Like
1Likes
Like

Posted 26 January 2014 - 12:48 PM

It is a window. While it is typical to include borders, a title bar, and other features it isn't required.

There are many articles like this that can probably fill in the pieces you don't know.

 thanks,that helped






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS