 |
|
 |
when the other windows overlap the explorebar,it will not display correctly.
In class CExpBarXP add timer events
1.add a timer
int CExpBarXP::OnCreate(LPCREATESTRUCT lpCreateStruct)
SetTimer(1,50,NULL);
2.response WM_ONTIMER
void CExpBarXP::OnTimer(UINT nIDEvent)
{
// TODO: Add your message handler code here and/or call default
UpdateWindow();
_baseclassExpBarXP::OnTimer(nIDEvent);
}
3.release timer
void CExpBarXP::OnDestroy()
{
KillTimer(1);
}
modified on Thursday, December 10, 2009 8:28 PM
|
|
|
|
 |
|
 |
Is it possible to make this work in Windows 7? I have Visual Studio 2008 and it seems to compile but i cant use it in my project that worked great on XP.
/Stefan
|
|
|
|
 |
|
 |
I am facing similar issue. I have used Default theme on XP and it worked well. But the same doesn't work on Windows 7. But the classic theme works well on Windows 7 too. How can we make use of themes for Windows 7. Is there a theme support for Windows 7? Please help.
Thanks,
Kayal.
|
|
|
|
 |
|
|
 |
|
 |
following is some error when i build it:
fatal error C1083: Cannot open include file: 'Tmschema.h': No such file or directory
error C2065: 'IDC_HAND' : undeclared identifier
error C2065: 'WM_THEMECHANGED' : undeclared identifier
error C2051: case expression not constant
error C2065: 'AC_SRC_ALPHA' : undeclared identifier
can anybody help me fix this problem?
Thanks very much.
|
|
|
|
 |
|
 |
very nice control !
Appreciate shareing.
|
|
|
|
 |
|
 |
How about using this nice control in vista? It has been a while since the incompatibility was announced and no update yet ....
|
|
|
|
 |
|
 |
i've try to compile with vc++ 6 but this error occured:
error C2065: 'DWORD_PTR' : undeclared identifier
what should i do? thanx
|
|
|
|
 |
|
 |
I tried to create a static library and it works, but my EXEs seems to have a writable shared section in their section list, which would prevent UPX compression.
Any clues on how to eliminate that ?
Thanks,
Michael
|
|
|
|
 |
|
 |
I fixed it, it was code found in dllmain.c
I removed it and all goes well.
|
|
|
|
 |
|
 |
Thank you very much for the explorer bar, it's a very nice control .but the XPExplorerBar.dsw is error when it is running,I can't find the error,only ask for you .or if you can give me the explorerbard.lib,it's OK.Thanke you.Please tell me quickly.my email is yhw19850401@yahoo.com.cn xiaoniu
|
|
|
|
 |
|
 |
thank you very much for the explorer bar, it's a very nice control and it works very well.
But I need your help, because i cant find in the code where i can adjust the initial width of the
bar.
help me please!!
thanks in advance,
Manuel
|
|
|
|
 |
|
 |
You have to change this line :
m_szVert = CSize(253, 253);
in CExpBarXP::CExpBarXP()
file : ExpBarXP.cpp
you must the value you want plus 10 (ie. 243+10 = 253)
Xavier aka adko
|
|
|
|
 |
|
 |
I try to run debug version and have message that
An aplication has made an attempt to load C runtime library without using manifest.
There's the msgbox picture
http://rolotomasi.nm.ru/expb/pic1.png
|
|
|
|
 |
|
 |
How do i disable a TaskLink32 control in runtime?
|
|
|
|
 |
|
 |
Compiling...
scbarg.cpp
d:\[00] kurome_work\[060525] sms wizard\사본 - sms_wizard\scbarg.cpp(57) : error C2440: 'static_cast' : cannot convert from 'UINT (__thiscall CSizingControlBarG::* )(CPoint)' to 'LRESULT (__thiscall CWnd::* )(CPoint)'
Cast from base to derived requires dynamic_cast or static_cast
sizecbar.cpp
d:\[00] kurome_work\[060525] sms wizard\사본 - sms_wizard\sizecbar.cpp(109) : error C2440: 'static_cast' : cannot convert from 'UINT (__thiscall CSizingControlBar::* )(CPoint)' to 'LRESULT (__thiscall CWnd::* )(CPoint)'
Cast from base to derived requires dynamic_cast or static_cast
d:\[00] kurome_work\[060525] sms wizard\사본 - sms_wizard\sizecbar.cpp(1296) : error C2065: 'afxChNil' : undeclared identifier
Generating Code...
Build log was saved at "file://d:\[00] Kurome_work\[060525] SMS Wizard\사본 - SMS_WIZARD\Debug\BuildLog.htm"
SMS_WIZARD - 3 error(s), 0 warning(s)
///////////////////////////////////////////////////////////////////////////
Please Help Me~~
Hello World~!
|
|
|
|
 |
|
 |
Replace UNIT with LRESULT for WM_NCHITTEST.
Javed
|
|
|
|
 |
|
|
 |
|
 |
I would like to be able to prevent any user from cloing the explorer bar or, better yet, have a menu command so that it can reappear. I thougt I could use CS_NOCLOSE on the parent but that doesn't help. Does anyone know how to do this??
|
|
|
|
 |
|
 |
I found the solution to my own problem. All I had to do is this:
CControlBar* pBar = pFrame->GetControlBar(ID_EXPLORERBAR);
pFrame->ShowControlBar(pBar, TRUE, 0);
|
|
|
|
 |
|
 |
Hi everybody,
I use this nice piece of code in a project where the GUI changes sometimes. My application has one explorerbar folder containing several items which are sometimes not visible. I have now really bad repainting problems when I change the size of the explorerbar window because the first non visible item produces an endless amount of WM_Paint messages. Does anybody know any reason why it does so or knows a workaround for this problem?
Cheers
gunag
|
|
|
|
 |
|
 |
Anyboy knows that?Same problem tp me too
|
|
|
|
 |
|
 |
If you have ever tried to change the style of a "TaskLink32" based item you might find it hard. I've tried to ask a question about it earlier. But I did not get an answer.
The author uses a PTLSTRUCT pointer that contains the data about the controls style etc, it is created combined with the GWL_STYLE var from the SetWindowLong()-function, but it does not update in a fly. So to handle that, we delete the control and create a new one with the new style, like this:
void UpdateCtrl(DWORD nDialog, DWORD Style, DWORD nDlgItem)
{
//Assume that your explorerbar is named m_wndExpBar
HWND hWndDlg = m_wndExpBar.GetPaneDialogWindow(nDialog);
HWND hWnd2 = ::GetDlgItem(hWndDlg, nDlgItem);
if(hWnd2==NULL)
return;
//Get the size of the rect
RECT Rect;
RECT Win;
::GetWindowRect(hWndDlg, &Win);
::GetWindowRect(hWnd2, &Rect);
//Set the quit signal to the control we're gonna mezz with!
m_wndExpBar.ThreadSendDlgItemMessage(hWndDlg,IDC_ADVANCE,WM_CLOSE, NULL, NULL);
HWND hWnd=CreateWindow(TASKLINKCLASSNAME, "Some text you can extract this is just an example", Style,Rect.left-Win.left,Rect.top-Win.top,Rect.right-Rect.left,Rect.bottom-Rect.top,hWndDlg, NULL, NULL, NULL);
//Set the window dlg ID
::SetWindowLong(hWnd, GWL_ID, nDlgItem);
}
Customize this function as you like, it does work but it is not a handy solution.
=====================
Lars [Large] Werner
lars@werner.no
http://lars.werner.no
Have you tried the ultimate tool for filling your CD/DVDs? http://lars.werner.no/sizeme/
=====================
|
|
|
|
 |
|
 |
Hello everybody,
I'm still bothering around with my problem how to hide individual tasklist control in the explorer bar control.
Somehow this control is really strange for me. In one method I can hide several tasklist controls individually by calling the Windows-function ::ShowWindow(,FALSE,0) and in another method I do the same only with the method ShowWindow(SW_HIDE) of the window which represents the tasklist control. In a third method none of those two options works. I'm really curious how you folks out there solved this problem because I guess you must have similar problems with this control.
There is also a resizing problem, because no matter how I hide a such tasklist control, the area represented by a dialog does not become smaller.
I noticed that the area represented a dialog does become smaller, if I set the text length in the tasklist control to 0, but then I have the problem that the dialog does not resize properly again when I add some text again to the tasklist control which leads to problem that the tasklist control is not completely displayed but just a very slim line of pixels is displayed. The rest is hidden behind some pixels used of controls which should be actually below the first control.
I'm open for any hints.
Cheers
gunag
|
|
|
|
 |
|
 |
Hi folks,
I guess I figured out the reason why the control does not work in my Application. I'm using also the class CCJTabCtrlBar from the Library CJ60Lib and these two controls seem not to like each other.
Cheers
gunag
|
|
|
|
 |