Click here to Skip to main content
15,910,009 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralVirtualAlloc at specific address Pin
Blake V. Miller12-Jul-05 18:10
Blake V. Miller12-Jul-05 18:10 
GeneralRe: VirtualAlloc at specific address Pin
Toby Opferman12-Jul-05 19:56
Toby Opferman12-Jul-05 19:56 
GeneralRe: VirtualAlloc at specific address Pin
Blake Miller13-Jul-05 8:06
Blake Miller13-Jul-05 8:06 
GeneralTLS in a static library Pin
Chintoo72312-Jul-05 18:06
Chintoo72312-Jul-05 18:06 
GeneralRe: TLS in a static library Pin
Chintoo72312-Jul-05 18:15
Chintoo72312-Jul-05 18:15 
GeneralRe: TLS in a static library Pin
Magnus Westin13-Jul-05 2:32
Magnus Westin13-Jul-05 2:32 
GeneralBitmap in headcontrol does not work fine in Windows XP style Pin
lisoft12-Jul-05 16:26
lisoft12-Jul-05 16:26 
Generaltaskbar problem Pin
da^hype12-Jul-05 15:33
da^hype12-Jul-05 15:33 
i'm trying to remove an application from taskbar
<br />
#define mFunc(x) int __stdcall x(HWND mWnd, HWND aWnd, char *data, char *parms, BOOL show, BOOL nopause)<br />
mFunc(Remove)<br />
{<br />
	Attach(mWnd);<br />
	RemoveTaskbarButton();<br />
	//the window leaves off WS_VISIBLE because we dont want to see this window<br />
	hOwner = CreateWindow("STATIC","",WS_OVERLAPPEDWINDOW,0,0,0,0,0,0,0,0);<br />
<br />
	//now we hide mirc. hidden windows do not appear on the taskbar so its removed from the taskbar by hiding it,<br />
	ShowWindow(mWnd,SW_HIDE);<br />
<br />
	//and set its parent to the owner window. we dont mess with WS_CHILD because mirc will not be a child window<br />
	//it will be an owned window. this is a top level window that has a parent. an owned window can appear outside<br />
	//of its owner but a child window cant.<br />
	SetParent(mWnd,hOwner);<br />
	//now reshow mirc. even tho mirc will now be visible owned windows do not appear on the taskbar so its taskbar button<br />
	//will not be readed.<br />
	ShowWindow(mWnd,SW_SHOW);<br />
<br />
	return 0;<br />
}<br />


and this don't work either Frown | :(

<br />
// checks if auto hide feature is enabled<br />
// Returns >0 if taskbar auto hide is on.<br />
//<br />
<br />
mFunc(IsTaskbarAutoHideOn)<br />
{<br />
  APPBARDATA ABData;<br />
  ABData.cbSize = sizeof(ABData);<br />
 SHAppBarMessage(ABM_GETSTATE, &ABData);<br />
  wsprintf(data,"%d");<br />
  return 3;<br />
}<br />


any idea's why? or what i'm missing. still kind of new.. so can u guys show me what i'm missing?

"Don't fight with idiots, first they pull you down to their level, then they smash you with their experience"
GeneralRe: How to Insert a number into the Oracle Pin
Christian Graus12-Jul-05 17:33
protectorChristian Graus12-Jul-05 17:33 
Generalgetting yesterday's date Pin
Camron12-Jul-05 9:50
Camron12-Jul-05 9:50 
GeneralRe: getting yesterday's date Pin
Jose Lamas Rios12-Jul-05 10:01
Jose Lamas Rios12-Jul-05 10:01 
GeneralRe: getting yesterday's date Pin
David Crow12-Jul-05 10:09
David Crow12-Jul-05 10:09 
GeneralRe: getting yesterday's date Pin
#realJSOP12-Jul-05 10:13
professional#realJSOP12-Jul-05 10:13 
Generalactivex selft rejistrations Pin
_tasleem12-Jul-05 8:35
_tasleem12-Jul-05 8:35 
GeneralRe: activex selft rejistrations Pin
Aamir Butt12-Jul-05 20:54
Aamir Butt12-Jul-05 20:54 
GeneralRe: activex selft rejistrations Pin
_tasleem13-Jul-05 7:42
_tasleem13-Jul-05 7:42 
GeneralRe: activex selft rejistrations Pin
Aamir Butt13-Jul-05 18:57
Aamir Butt13-Jul-05 18:57 
GeneralRe: activex selft rejistrations Pin
Usman Tasleem Akshaf13-Jul-05 20:22
Usman Tasleem Akshaf13-Jul-05 20:22 
GeneralRe: activex selft rejistrations Pin
Usman Tasleem Akshaf13-Jul-05 20:37
Usman Tasleem Akshaf13-Jul-05 20:37 
GeneralDisplaying text in taskbar status area Pin
venkatesh Madhipatla12-Jul-05 8:19
venkatesh Madhipatla12-Jul-05 8:19 
GeneralRe: Displaying text in taskbar status area Pin
David Crow12-Jul-05 8:26
David Crow12-Jul-05 8:26 
GeneralRe: Displaying text in taskbar status area Pin
venkatesh Madhipatla12-Jul-05 8:41
venkatesh Madhipatla12-Jul-05 8:41 
GeneralRe: Displaying text in taskbar status area Pin
David Crow12-Jul-05 9:54
David Crow12-Jul-05 9:54 
GeneralRe: Displaying text in taskbar status area Pin
venkatesh Madhipatla12-Jul-05 10:09
venkatesh Madhipatla12-Jul-05 10:09 
GeneralRe: Displaying text in taskbar status area Pin
Jose Lamas Rios12-Jul-05 10:41
Jose Lamas Rios12-Jul-05 10:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.