 |
|
|
 |
|
 |
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.
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
|
 |
|
 |
How about using this nice control in vista? It has been a while since the incompatibility was announced and no update yet ....
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
i've try to compile with vc++ 6 but this error occured: error C2065: 'DWORD_PTR' : undeclared identifier what should i do? thanx
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | 1.40/5 (5 votes) |
|
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
 |
|
 |
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~!
|
| Sign In·View Thread·PermaLink | 3.00/5 (1 vote) |
|
|
|
 |
|
|
 |
|
|
 |
|
 |
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??
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
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);
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | 1.20/5 (2 votes) |
|
|
|
 |
|
|
 |
|
 |
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/ =====================
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
I got similar problem too! ShowWindow(SW_HIDE) didn't work. Anybody knows how to hide a control in runtime?
Howard
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hi,
the bar is really great, although I have to learn now how Windows programming was done before MFC  I got most of the part working, but now I want to hide or show items in a dialog depending on a state of my program. How do I hide an item in a dialog? I have tried to use the message WM_SHOWWINDOW, but it does not work. Is there any special window message different to WM_SHOWWINDOW you use to hide an item?
Cheers
gunag
|
| Sign In·View Thread·PermaLink | 5.00/5 (1 vote) |
|
|
|
 |
|
 |
It's a very nice control and it works perfectly here. One thing though is that I cant get a nice blue background like in your sample. The background I have now is always white. I have added all the code like it says in the help file (.chm). What can I do to get a windows style background?
Regards, Joeny
|
| Sign In·View Thread·PermaLink | 2.00/5 (4 votes) |
|
|
|
 |