Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 04-24-2005, 04:26 PM   #1 (permalink)
Joel
Registered User
 
Join Date: Mar 2005
Location: Tijuana, BC, México
Posts: 7
Joel is on a distinguished road
Question CreateWindowEx and the taskbar

Is it possible to create a window (parent one with CreateWindowEx) that will not visible on the start menu's taskbar?
Joel is offline   Reply With Quote
Old 04-24-2005, 05:30 PM   #2 (permalink)
DJMaze
Senior Contributor
 
DJMaze's Avatar
 
Join Date: Mar 2005
Posts: 661
DJMaze is on a distinguished road
yes, try the following code

PHP Code:
HINSTANCE Msgs_hInst;
WNDCLASSEX wndclass;
wndclass.cbSize sizeof(wndclass);
wndclass.style =  CS_DBLCLKS;
wndclass.cbClsExtra 0;
wndclass.cbWndExtra 0;
wndclass.hInstance Msgs_hInst;
wndclass.hIcon 0;
wndclass.hCursor = (HICONLoadCursor(NULLIDC_ARROW);
wndclass.hbrBackground = (HBRUSHNULL;
wndclass.lpszMenuName NULL;
wndclass.lpszClassName _T("MP3T");
wndclass.lpfnWndProc NULL;
wndclass.hIconSm = (HICONNULL;
if (
RegisterClassEx(&wndclass)) {
    
HWND Msgs_hWnd CreateWindowEx(0_T("MP3T"), _T("MP3Tunes"), 0,
        
0025616,
        (
HWNDHandle, (HMENUNULLMsgs_hInstNULL);

    
// then the other trick
    
ShowWindow(Msgs_hWndSW_HIDE);

NOTE i think ShowWindow() is Borland specific function and i've forgot the MFC command
DJMaze is offline   Reply With Quote
Old 04-25-2005, 04:56 AM   #3 (permalink)
Joel
Registered User
 
Join Date: Mar 2005
Location: Tijuana, BC, México
Posts: 7
Joel is on a distinguished road
Thanks.... I'll try that back in home.... right now I'm in my work
Joel is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 07:37 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting