Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 22:54

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



ExpansionSlot01 V19 Taskbar Problem

Discussion on ExpansionSlot01 V19 Taskbar Problem within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
max982's Avatar
 
elite*gold: 0
Join Date: Nov 2010
Posts: 119
Received Thanks: 35
ExpansionSlot01 V19 Taskbar Problem

So here is my problem, i got it to work, but it's like f*cked up, i just wanted some help because i'm haveing headaches of the taskbar...
Code:
void CWndSlideBar::OnLButtonDown(UINT nFlags, CPoint point)
{

	MouseLocation = point;
  SetCapture();
}
void CWndSlideBar::OnMouseMove(UINT nFlags, CPoint point)
{
  CRect rectRoot = m_pWndRoot->GetLayoutRect();
  CRect rectWindow = GetWindowRect();
  int FixedY = rectWindow.top;
  int FixedX = rectWindow.bottom;
  int yLimit = rectRoot.bottom - 65;
  
  //Move54 = (MouseLocation.x - point.x);

  if(FixedY != yLimit)
       FixedY = yLimit;

  if(FixedX < rectRoot.bottom - 65)
	  FixedX = rectRoot.bottom - 65;
  else if(FixedX > rectRoot.bottom - 15)
	  FixedX = rectRoot.bottom - 15;

  int diff = (point.x) - (MouseLocation.x);
  FixedX += (diff);	  

  //if(g_bKeyTable[0x01] && IsPush())
  //{
    CPoint point1( FixedX , FixedY );
    Move( point1 );
	//g_bKeyTable[ dwHotkey[i] ] = 0;
  //}
  
	CWndNeuz::OnMouseMove( nFlags, point );
}
As you see here, i wanted to do my own way to move it, and as the Capture thingy didn't work, i used my way to..

So the problem is here
Code:
  int diff = (point.x) - (MouseLocation.x);
  FixedX += (diff);
I hope that you guys will help me, i'll be soon releasing my taskbar after finishing all of it. And here is a lucky picture, using that code.


Thanks for helping.
max982 is offline  
Old 02/08/2013, 23:05   #2
 
elite*gold: 4
Join Date: Mar 2010
Posts: 3,148
Received Thanks: 1,535
look at your pn box for this.
Jopsi332 is offline  
Old 02/09/2013, 09:10   #3
 
xMootie's Avatar
 
elite*gold: 0
Join Date: Feb 2012
Posts: 208
Received Thanks: 486
Flag the window style with WBS_MOVE, then restrict movement by overriding "CWndBase::SetWndRect"...
xMootie is offline  
Thanks
1 User
Old 02/09/2013, 10:58   #4
 
elite*gold: 4
Join Date: Mar 2010
Posts: 3,148
Received Thanks: 1,535
Quote:
Originally Posted by XorLethal View Post
Flag the window style with WBS_MOVE, then restrict movement by overriding "CWndBase::SetWndRect"...
Hrlped himalready.but in wndbase where he move and change the rect with stops etc. Working already
Jopsi332 is offline  
Old 02/09/2013, 17:01   #5
 
adeilson123's Avatar
 
elite*gold: 0
Join Date: Mar 2011
Posts: 129
Received Thanks: 257
Quote:
Originally Posted by XorLethal View Post
Flag the window style with WBS_MOVE, then restrict movement by overriding "CWndBase::SetWndRect"...
I already did it move into the position x e blocked the y, but
does not have a limit of x (left or right) for him to go, so it goes until the end of the flyff screen
adeilson123 is offline  
Old 02/09/2013, 17:52   #6
 
elite*gold: 4
Join Date: Mar 2010
Posts: 3,148
Received Thanks: 1,535
Quote:
Originally Posted by adeilson123 View Post
I already did it move into the position x e blocked the y, but
does not have a limit of x (left or right) for him to go, so it goes until the end of the flyff screen
Just check the actual point and block with if
Jopsi332 is offline  
Old 02/19/2013, 15:55   #7
 
elite*gold: 115
Join Date: Jan 2012
Posts: 1,156
Received Thanks: 894
can you post it here the slidebar source code?
Rhyder` is offline  
Old 02/19/2013, 17:46   #8

 
Crowley™'s Avatar
 
elite*gold: 5
Join Date: Oct 2012
Posts: 1,335
Received Thanks: 505
Wäre nett wenn wer schreiben würde wie der Error zu fixen geht oder ob er gefixed ist? Oo
mfg. Crowley
Crowley™ is offline  
Old 02/19/2013, 18:06   #9
 
Unleashed!'s Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 395
Received Thanks: 233
Quote:
Originally Posted by adeilson123 View Post
I already did it move into the position x e blocked the y, but
does not have a limit of x (left or right) for him to go, so it goes until the end of the flyff screen
As Lethal already said, override your CWndBase::SetWndRect and add something like this (Just for example, don't now the real var-names right now, and you should calculate the x-coord by substracting the width of the taskbar + the width of the new slotbar, to make it "floating" right, means you wont get problems with users using other resolutions then you do):
Code:
if(x < g_Neuz.GetWndRect().right - 500) return;
Unleashed! is offline  
Old 02/19/2013, 22:42   #10
 
adeilson123's Avatar
 
elite*gold: 0
Join Date: Mar 2011
Posts: 129
Received Thanks: 257
Quote:
Originally Posted by Unleashed! View Post
As Lethal already said, override your CWndBase::SetWndRect and add something like this (Just for example, don't now the real var-names right now, and you should calculate the x-coord by substracting the width of the taskbar + the width of the new slotbar, to make it "floating" right, means you wont get problems with users using other resolutions then you do):
Code:
if(x < g_Neuz.GetWndRect().right - 500) return;
this is no longer necessary already for more than a week since I made him move properly
adeilson123 is offline  
Old 02/22/2013, 00:29   #11
 
elite*gold: 115
Join Date: Jan 2012
Posts: 1,156
Received Thanks: 894
Quote:
Originally Posted by adeilson123 View Post
this is no longer necessary already for more than a week since I made him move properly

Can you post your code here of your Expasionslot?
Rhyder` is offline  
Old 02/22/2013, 14:13   #12
 
max982's Avatar
 
elite*gold: 0
Join Date: Nov 2010
Posts: 119
Received Thanks: 35
Quote:
Originally Posted by jayjei14 View Post
Can you post your code here of your Expasionslot?
He won't, because, he, jopsi and me are using the same, and we won't post it right now, it's be on the next source update.
max982 is offline  
Reply


Similar Threads Similar Threads
Problem beim Taskbar Design
12/10/2012 - Flyff Private Server - 9 Replies
#close pls
Problem mit der Taskbar [Grafik]
08/05/2012 - Flyff Private Server - 3 Replies
Ich hab ein neues Design aufgesetzt wo ich es dann ingame anshauen wollte kam das hier http://www10.pic-upload.de/04.08.12/x5kj6bmznoj.j pg weis einer wo der fehler liegt :confused: Vielen dank schon mal :handsdown:
windows7 problem mit der taskbar :D
03/21/2011 - Main - 4 Replies
hi epvp com ich habe mir vor ein paar tagen einen neuen pc gekauft der funktioniert wunderbar ;D aber ich habe das problem das egal wa sich mache egal ob bei,browsern,games,oder sonstige programe immer die taskleiste im bild ist das ist aber vorallem bei games ziemlich störend nun würde ich gerne wissen wie ich es einstellen kann das die taskbar bei games,browsern aus dem bild geht ich habe windows7 home premium 64bit thx im voraus :D
need some help with taskbar name
03/18/2006 - Conquer Online 2 - 0 Replies
can someone tell me how to rename the title of the program running on the task bar (ie it says "" right now and i would like to change it to something else it hopes a program i have will work...) also, would it mess up bots like n3w8y's leveler.exe, copartner: copanther version, or anything else? thanks



All times are GMT +1. The time now is 22:55.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.