[Request] Wndmanager.cpp code

02/27/2013 14:57 Rhyder`#1
Anyone here can give me the codes for jopsi task hotkey? from A1-A0 and 1-0 ???

here's the example that i found but idk the hotkey about A1-A0 and 1-0

e.g.
if( g_bKeyTable[ VK_F10 ] )
{
g_bKeyTable[ VK_F10 ] = 0;
m_pWndTaskBar->SetItemSlot( 9 );
}
02/27/2013 15:46 Jopsi332#2
Quote:
Originally Posted by jayjei14 View Post
Anyone here can give me the codes for jopsi task hotkey? from A1-A0 and 1-0 ???

here's the example that i found but idk the hotkey about A1-A0 and 1-0

e.g.
if( g_bKeyTable[ VK_F10 ] )
{
g_bKeyTable[ VK_F10 ] = 0;
m_pWndTaskBar->SetItemSlot( 9 );
}
its not in wndmanager- .- this code
(m_pWndTaskBar->SetItemSlot)
is for the old taskbar and must be deactivatet with #ifndef __NEW_THEME
02/27/2013 16:09 Rhyder`#3
Quote:
Originally Posted by Jopsi332 View Post
its not in wndmanager- .- this code
(m_pWndTaskBar->SetItemSlot)
is for the old taskbar and must be deactivatet with #ifndef __NEW_THEME

so i how do i activate them? i want it to make it functional the A1-A0 hotkey and 1-0 Hotkey?

Help me to activate A1-A0 hotkey and 1-0 hotkey
02/27/2013 16:13 yannick2008#4
Quote:
Originally Posted by jayjei14 View Post
so i how do i activate them? i want it to make it functional the A1-A0 hotkey and 1-0 Hotkey?

Help me to activate A1-A0 hotkey and 1-0 hotkey
This Code snippet isn't for the functionality with A1-A0 (???).

This is for change the Taskbar (the old bar have 9 or 10 bars too but invisibile).
02/27/2013 16:18 Rhyder`#5
Please put the all hotkey code of this taskbar i want it to make it works


Quote:
Originally Posted by Jopsi332 View Post
f10 -> havnt looked why VK_F10 does not call keydown function


a0 etc. u must use ALT_GR key

0-1 u must use the numberkeys above the letter-keys and not the num-pad

whole code of this please :(
02/27/2013 18:06 Jopsi332#6
my god i said disable the wndmanager part..
Code:
#ifndef __NEW_THEME
			if( g_bKeyTable[ '1' ] )
			{
				g_bKeyTable[ '1' ] = 0;
				m_pWndTaskBar->SetItemSlot( 0 );
			}
			if( g_bKeyTable[ '2' ] )
			{
				g_bKeyTable[ '2' ] = 0;
				m_pWndTaskBar->SetItemSlot( 1 );
			}
			if( g_bKeyTable[ '3' ] )
			{
				g_bKeyTable[ '3' ] = 0;
				m_pWndTaskBar->SetItemSlot( 2 );
			}
			if( g_bKeyTable[ '4' ] )
			{
				g_bKeyTable[ '4' ] = 0;
				m_pWndTaskBar->SetItemSlot( 3 );
			}
#if __VER >= 11 // __CSC_VER11_5
			if( g_bKeyTable[ '5' ] )
			{
				g_bKeyTable[ '5' ] = 0;
				m_pWndTaskBar->SetItemSlot( 4 );
			}
			if( g_bKeyTable[ '6' ] )
			{
				g_bKeyTable[ '6' ] = 0;
				m_pWndTaskBar->SetItemSlot( 5 );
			}
			if( g_bKeyTable[ '7' ] )
			{
				g_bKeyTable[ '7' ] = 0;
				m_pWndTaskBar->SetItemSlot( 6 );
			}
			if( g_bKeyTable[ '8' ] )
			{
				g_bKeyTable[ '8' ] = 0;
				m_pWndTaskBar->SetItemSlot( 7 );
			}
#endif //__CSC_VER11_5
			if( g_bKeyTable[ '1' ] )
			{
				g_bKeyTable[ '1' ] = 0;
				ObjectExecutor( SHORTCUT_APPLET, APP_HELPER_HELP );
			}
			if( g_bKeyTable[ '0' ] )
			{
				g_bKeyTable[ '0' ] = 0;
				ScreenCapture();
			}
			if( g_bKeyTable[ '9' ] )
			{
				g_bKeyTable[ '9' ] = 0;
				FILEOUT( "Postion.txt", "Pos x = %f, z = %f", g_pPlayer->GetPos().x, g_pPlayer->GetPos().z );
				PutString( prj.GetText(TID_ADMIN_COORDINATESAVE), NULL, prj.GetTextColor(TID_ADMIN_COORDINATESAVE) );
			}
#else
			if( g_bKeyTable[ VK_HOME ] )
			{
				g_bKeyTable[ VK_HOME ] = 0;
				ScreenCapture();
				//g_Neuz.CaptureBitmap();
			}
#endif
02/28/2013 00:06 Rhyder`#7
So it means the whole part of the old taskbar hotkey must be disable and i add that code?

please make a tutorial i don't get it :(
02/28/2013 00:22 Jopsi332#8
JUST REPLACE
02/28/2013 06:23 Allowedes#9
Quote:
Originally Posted by jayjei14 View Post
So it means the whole part of the old taskbar hotkey must be disable and i add that code?

please make a tutorial i don't get it :(
Seriously please delete the source code and stop to "work" with it.
02/28/2013 06:54 Rhyder`#10
Quote:
Originally Posted by Jopsi332 View Post
JUST REPLACE
How about the A1-A0 hotkey?

Quote:
Originally Posted by Allowedes View Post
Seriously please delete the source code and stop to "work" with it.
help me please :(