Subject |
Author |
Date |
|
tera tera
|
Nov 5, 2008 - 11:57 PM
|
Hello. Even if the BITMAP resource ID is different in DLL, is it necessary to do it uniquely? A.DLL
IDB_PICBITMAP1 1234
IDB_PICBITMAP2 1250 B.DLL
IDB_PICBITMAP1 1300
IDB_PICBITMAP2 1301 As well as BITMAP, Do I have to assign a unique ID number including a dialog and the string table? But will the control such as IDC be good with the same ID number?
A.DLL
IDC_EDIT1 1500 B.DLL
IDC_EDIT1 1500 Thanks,
|
|
Technical Support
|
Nov 6, 2008 - 7:05 AM
|
If all bitmap IDs are unique (even in different DLLs), you should always be able to load a required bitmap successfully using one of the following methods: bool CExtResourceManager::LoadBitmap(
CExtBitmap & _bitmap,
__EXT_MFC_SAFE_LPCTSTR strResourceName,
WORD * p_wLangIdOut, // = NULL
HINSTANCE * p_hInstOut // = NULL
)
bool CExtBitmap::LoadBMP_Resource(
__EXT_MFC_SAFE_LPCTSTR sResourceID,
__EXT_MFC_SAFE_LPCTSTR sResourceType, // = RT_BITMAP // default bitmap section
HINSTANCE hInst, // = NULL // find it automatically
bool bMake32, //= false
bool bEnableThrowException // = false
)
If bitmap resource identifiers are not equal in each of DLLs and in EXE, you should detect manually which DLL (or EXE) contains the required bitmap resource and use the following method: bool CExtBitmap::LoadBMP_Resource(
HINSTANCE hInst,
HRSRC hRsrc,
bool bMake32, //= false
bool bEnableThrowException // = false
)
You can define and use IDC_EDIT1 in several different DLL and EXE projects. It’s defined in the resource.h header file of each project. If A.DLL project includes into its .CPP files only its own resource.h file, then you will not come across with any problems. If your DLL projects will include resource.h file from different projects, then you will not be able to compile successfully because some of resource constants will be defined more than once using different values. This is incorrect and you can avoid this problem only by using unique names in resource pre-processor variables.
|
|
tera tera
|
Nov 5, 2008 - 7:35 PM
|
Hello. It was made a menu dynamically.
However, it is not started in the form that all the menus were displayed.
Please teach a way displayed entirely.
Please answer it as soon as possible.
CExtPopupMenuWnd * pPopup;
CPoint cPointPop;
pPopup = new CExtPopupMenuWnd;
pPopup->CreatePopupMenu( AfxGetMainWnd()->GetSafeHwnd() ); CMenu menuWidthCommands;
CMenu popupMenu;
BOOL bCreate;
bCreate = menuWidthCommands.CreateMenu();
bCreate = popupMenu.CreatePopupMenu ();
bCreate = popupMenu.AppendMenu ( MF_STRING, 32123 /*ID_SEPARATOR*/ , "aaaa" );
bCreate = popupMenu.AppendMenu ( MF_STRING, 32124 /*ID_SEPARATOR*/ , "bbbb" );
bCreate = menuWidthCommands.AppendMenu ( MF_POPUP, ( UINT ) popupMenu.Detach (), "_POPUP_" ); pPopup->UpdateFromMenu(
//GetSafeHwnd() ,
AfxGetMainWnd()->GetSafeHwnd() ,
&menuWidthCommands
); ::GetCursorPos( &cPointPop ); pPopup->TrackPopupMenu (
TPM_RIGHTBUTTON | TPM_TOPALIGN | TPM_LEFTALIGN ,
cPointPop.x ,
cPointPop.y
);
|
|
Technical Support
|
Nov 6, 2008 - 12:56 PM
|
First of all, you are using the TPM_*** in invocation of the CExtPopupMenuWnd::TrackPopupMenu() method. This is not correct. This method uses its own TPMX_*** flags instead of defined in Win32 TPM_*** flags. You should use the TPMX_NO_HIDE_RARELY flag to make all the commands visible initially.
|
|
Technical Support
|
Nov 6, 2008 - 12:55 PM
|
All the command descriptions are de-allocated by thecommand manager at shut down automatically. You should not see any memory leaks. But if your code allocates some command identifier dynamically, this code is invoked many times and you stop de-allocating it, you will need to check whether the command identifier is already allocated. In this case you should invoke the g_CmdManager->CmdAllocPtr( . . . ) code first. If it returns NULL , the specified command identifier is already allocated and you can invoke the g_CmdManager->CmdGetPtr( . . . ) to get a pointer to the already allocated the CExtCmdItem() object.
|
|
tera tera
|
Nov 6, 2008 - 6:01 PM
|
|
|
tera tera
|
Nov 5, 2008 - 7:38 PM
|
At the time of the end, will it be necessary to erase menu ID every time? g_CmdManager->CmdRemove( __PROF_UIS_PROJECT_CMD_PROFILE_NAME , 32123 );
g_CmdManager->CmdRemove( __PROF_UIS_PROJECT_CMD_PROFILE_NAME , 32124 );
|
|
Offer Har
|
Nov 5, 2008 - 6:33 PM
|
I have an MDI application with a MDI tan control, and 2 child frames maximized. When I switch between the child frames using Ctrl+Tab all is well. When I switch between the child frames by clicking the tab in teh MDI tab control, it restore the size of the frames, and maximize them again - this flickers and looks bad. Note in 2.83 this did not happen. Please fix.
|
|
Technical Support
|
Nov 6, 2008 - 1:29 PM
|
Please let us know where we can see this issue in any of Prof-UIS sample applications? Or … how to modify any of sample applications to make it reproduce this issue?
|
|
Offer Har
|
Nov 6, 2008 - 1:38 PM
|
Very simple.... this happens even without the MDI control bar in your samples: 1. Run MDIDOCVIEW-md.exe 2. Maximize the view 3. Open a new view by clicking the New button 4. From the Window menu swicth between MDIDOC1 and MDIDOC 2 You will see a flicker of the views when you switch, in which their size is restored and them aximized again. If you switch between the views using the Ctrl+Tab or Ctrl+F6 this bug does not happen.
|
|
Offer Har
|
Nov 5, 2008 - 6:30 PM
|
Can you please help me on this one? I need it urgently.
|
|
Technical Support
|
Nov 6, 2008 - 1:28 PM
|
|
|
Offer Har
|
Nov 6, 2008 - 1:47 PM
|
Thanks - will try this out.
|
|
Anil Siddhpura
|
Nov 5, 2008 - 1:47 AM
|
Hi !!!!!!!! I used page navigator control. How can I set the font of this control. I used SetFont function but not working. How I can set font ? Anil
|
|
Technical Support
|
Nov 5, 2008 - 12:00 PM
|
|
|
Jennifer Chong
|
Nov 3, 2008 - 2:33 PM
|
Dear Support, I have an application that is a toolbar add-on for Internet Explorer and is built with ProfUIS 2.5.3.
The toolbar has a simple button with drop-down menu that works with IE6/IE7 browsers on XP and Vista
but appears to be broken with IE8 (beta 2). On IE8, when the button is clicked, the drop-down menu appears,
then quickly disappears. I have also built the toolbar with ProfUIS 2.8.3, but see the same issue. Are there missing windows messages
that should be handled for IE8 within ProfUIS or application built with ProfUIS ?
The toolbar application code uses the CExtToolControlBar class and adds the button with menu like ProfUIS sample code -
VERIFY(
InsertButton( APPEND_BUTTON, ID_RSA_LOGO )
);
SetButtonImage(ID_RSA_LOGO, cLogoBitmap); INT nBtnIdx = CommandToIndex( ID_RSA_LOGO );
//add a menu to the toolbar button
ASSERT( nBtnIdx >= 0 );
CMenu _menu;
VERIFY(
_menu.LoadMenu(
IDR_TOOLBAR_TEMP_MENU
)
);
VERIFY(
SetButtonMenu(
nBtnIdx,
_menu.Detach(),
TRUE,
TRUE,
TRUE
)
);
CExtBarButton * pTBB = GetButton( nBtnIdx );
ASSERT_VALID( pTBB );
pTBB->SetAutoChangeID(true);
pTBB->SetCmdID(ID_RSA_LOGO,false);
Thank you,
MKN
|
|
Technical Support
|
Nov 4, 2008 - 9:02 AM
|
The CExtPopupMenuWnd class in Prof-UIS implements a window which looks and works like a popup menu. In fact, the menu tree on the screen is a tree like structure of CExtPopupMenuWnd -based window. All the instances of the CExtPopupMenuWnd class are always created dynamically and destroyed automatically. So, if the menu is closed, the CExtPopupMenuWnd object is deleted and its destructor is invoked. We would like to ask you to set a breakpoint to CExtPopupMenuWnd::~CExtPopupMenuWnd() destructor, start debugger and try to invoke you popup menu in IE8. It would be really helpful to take a look at the content of the Call Stack window when menu becomes destroyed. We suspect the WM_CANCELMODE or WM_WINDOWPOSCHANGED messages are somehow received by the popup menu window and call stack listing may clarify what really happens.
|
|
Offer Har
|
Nov 3, 2008 - 9:39 AM
|
Hi, We’ve been having a thread about this issues: http://www.prof-uis.com/prof-uis/tech-support/support-forum/how-to-make-cextcontrolbar-child-of-cview-62234.aspx#@lt;/p>
Ithink i’ll be able to fix most of my bugs using this sample, however, there is one issue that the sample does not solve: 3) The most problematic of all - I can still take the control-bar outside the view - my major requirement is that the control-bar will not leave the view, as the data in it is relevat only to that spefici view. I must somehow make sure that the control-bar will not leave the view - in this sample you can drag the control-bar, for example Resizable Bar 1 outside of the MDI child window - which I must prevent. You have to understand that I have many views, each have some embedded control-bars that contain some data that is relevant only to that view, and if it shows outside this view it becomes confusing and miss-leading. In regular modelss floating dialogs this is a simple thing if setting the parent of the dialog. Please help me on this one. Thanks, Ron.
|
|
Technical Support
|
Nov 7, 2008 - 5:16 AM
|
This is not difficult. You should use your own CExtControlBar -derived class which implements the CExtControlBar::FloatControlBar() virtual method. Its code>ptFloat</code> parameter represents the left-top corner in screen coordinates. You should check these coordinates and make invocation of parent class method with adjusted/checked ptFloat parameter which will not allow control bar to appear outside the view window. The CExtControlBar::m_sizeFloated property contains the size of a control bar in floating state. The view window position in screen coordinates can be obtained by invoking its GetWindowRect() API.
|
|
Technical Support
|
Nov 6, 2008 - 2:07 PM
|
It looks exactly like drag-n-dropping algorithm for resizable bars in Visual Studio .NET 2003.
|
|
Technical Support
|
Nov 6, 2008 - 2:06 PM
|
Seems we really lost understanding of your technical task. We need more details about it. Please explain us how control bars you need should behave? How their floating state should differ from default floating state implemented in Prof-UIS control bars?
|
|
Offer Har
|
Nov 6, 2008 - 2:15 PM
|
OK: I have a view and a control-bar inside this view. The control-bar is floating - I can dock it to the sides of the view - this is all good & well - used the InnerOuterBars as reference. My other requirement is this: When the control-bar is floating, and the user try to move it outside the view he will get stuck in the boundaries of the view - the control-bar will not be able leave the view. Hope it is clearer now.
|
|
Technical Support
|
Nov 7, 2008 - 5:15 AM
|
This is not difficult. You should use your own CExtControlBar -derived class which implements the CExtControlBar::FloatControlBar() virtual method. Its code>ptFloat</code> parameter represents the left-top corner in screen coordinates. You should check these coordinates and make invocation of parent class method with adjusted/checked ptFloat parameter which will not allow control bar to appear outside the view window. The CExtControlBar::m_sizeFloated property contains the size of a control bar in floating state. The view window position in screen coordinates can be obtained by invoking its GetWindowRect() API.
|
|
Technical Support
|
Nov 3, 2008 - 1:22 PM
|
Resizable control bar can 100% avoid switching floating state if they use the Visual Studio .NET 2003 like drag-n-dropping algorithm. You can use resizable control bars which return the CExtControlBar::__RESIZABLE_DOCKING_TYPE_STUDIO_2003 value from the overridden CExtControlBar::OnQueryDockingType() virtual method. Or you can simply assign the CExtControlBar::__RESIZABLE_DOCKING_TYPE_STUDIO_2003 value to the CExtControlBar::g_eResizablePanelDockingType static property. Next step is overriding the CExtControlBar::FloatControlBar() and CExtControlBar::ToggleDocking() virtual methods. Both should have empty bodies. Such bars will not be able to switch into floating state and you will be able to re-dock them conveniently.
|
|
Offer Har
|
Nov 5, 2008 - 6:05 AM
|
Dear Support - any thoughts on this matter? I do want them to have a floating state, but when they are dragged I don’t want them to leave their parent, which is the view - like a child window behaves in default windows.
|
|
Technical Support
|
Nov 6, 2008 - 1:29 PM
|
We think we understood you right when we advised you to switch to using Visual Studio .NET 2003 like control bar drag-n-dropping algorithm. This is the single available way to keep control bars non-floating when they being drag-n-dropped.
|
|
Offer Har
|
Nov 6, 2008 - 1:34 PM
|
I’m not sure you did... I do want the bar to be floating, only not outside the frame window that it is craeted in.
|
|
Offer Har
|
Nov 3, 2008 - 1:30 PM
|
Dear Support, Either I wasn’t completely clear or you did not understand my problem... I do want them to have a floating state, but when they are dragged I don’t want them to leave their parent, which is the view - like a child window behaves in default windows. Thanks, Ron.
|
|
Offer Har
|
Nov 6, 2008 - 2:13 PM
|
OK: I have a view and a control-bar inside this view. The control-bar is floating - I can dock it to the sides of the view - this is all good & well - used the InnerOuterBars as reference. My other requirement is this: When the control-bar is floating, and the user try to move it outside the view he will get stuck in the boundaries of the view - the control-bar will not be able leave the view. Hope it is clearer now.
|
|
Offer Har
|
Nov 3, 2008 - 7:26 AM
|
Dear support, We must have the sorting available for a very important customer. The sorting works from the column header when the user clicks on it, but when calling
OnGridQueryDataProvider().SortOrderUpdate(false, this);
As we do in grids for sorting from code when we add rows, it does not work. It gets to this empty function:
bool CExtTreeGridDataProvider::SortOrderUpdate(
bool bColumns, // true = sort order for columns, false - for rows
IDataProviderEvents * pDPE // = NULL
)
{
ASSERT_VALID( this );
bColumns;
pDPE;
// this method must never be invoked
// ASSERT( FALSE );
return true;
} Please fix, or explain how to sort the tree from the code. In any case, we think the sorting should be the same in grid and tree, so this function must be implemented in trees as well. Thanks, Ron.
|
|
Technical Support
|
Nov 6, 2008 - 1:10 PM
|
You should initialize an CExtGridDataSortOrder array of column indices with their ascending flags and invoke the CExtTreeGridWnd::TreeGridSortOrderSetup() method. This method in a tree grid is similar to the CExtGridWnd::GridSortOrderSetup() method in plain grid (see in 2.83 documentation). Both methods do their grids sorting and setup sort arrows in header columns.
|
|
Offer Har
|
Nov 4, 2008 - 7:59 AM
|
I don’t understand - how do I tell the tree to re-sort itself like I do to a grid? this function requiresItemSortChildrenDeep many parameters that I have no idea why and what they mean. In a grid I just call SortOrderUpdate - what is the matching function in trees? I got the latest code of 2,84 and did not see any change in tree between the version I was using in the sort part. Please help me with this ASAP, we need to release a version.
|
|
Technical Support
|
Nov 3, 2008 - 1:17 PM
|
We finished our work on tree grid sorting in Prof-UIS 2.84. The tree grid in the FilteredGrids sample application is sort-able. By default the tree grid sorts all the items at all the tree levels using a new CExtTreeGridWnd::ItemSortChildrenDeep() method. It’s possible to make it sorting only some of levels by overriding a new CExtTreeGridWnd::TreeGridSortOrderSetup() virtual method. The methods referred in your message were completely re-coded. We sent you a link to the updated source code by email.
|
|
Offer Har
|
Nov 5, 2008 - 5:06 AM
|
Please answer my questions from yesterday - we still did not resolve this issue and we need it ASAP.
|
|
Offer Har
|
Nov 4, 2008 - 8:01 AM
|
What is CExtGridDataSortOrder ? where do I get it from? What do I do with it?
|
|
Technical Support
|
Nov 6, 2008 - 1:09 PM
|
This class implements an array of data structures containing pair of values: - column index to sort by - flag indicating whether a column with index should be sorted ascending
|
|
Offer Har
|
Nov 4, 2008 - 7:59 AM
|
I don’t understand - how do I tell the tree to re-sort itself like I do to a grid? this function requiresItemSortChildrenDeep many parameters that I have no idea why and what they mean. In a grid I just call SortOrderUpdate - what is the matching function in trees? I got the latest code of 2,84 and did not see any change in tree between the version I was using in the sort part. Please help me with this ASAP, we need to release a version.
|
|
howard liu
|
Oct 31, 2008 - 2:49 AM
|
Hi, How do I remove the tooltip from the advanced tool bar. I have removed the chevron buttons but I get tool tipe when i place the cursor over the end of the advanced toolbar. I do not want this tool tip Thanks, Howard
|
|
Technical Support
|
Nov 3, 2008 - 1:47 PM
|
You can use one of the following approaches:
- You can create a control bar without CBRS_TOOLTIPS MFC control bar style. You will need to clean the control bar state data manually after applying such a code change. - You can override the CExtControlBar::OnToolHitTest virtual method and return -1 from it. - You can override the CExtControlBar::OnAdvancedPopupMenuTipWndGet() virtual method and return NULL from it. - You can override the CExtControlBar::OnAdvancedPopupMenuTipWndDisplay() virtual method and not invoke the parent class method.
|
|
Offer Har
|
Oct 30, 2008 - 9:05 AM
|
|
|
Offer Har
|
Oct 30, 2008 - 9:02 AM
|
Hi, There was a bug I reported a while ago that when starting to drag a control-bar, the control-bar lagged behind the cursor, when the process was having a moderate CPU consumption. You fixed it so that the control-bar will ’jump’ to the cursor, and will not computer deltas. This works, however, there is a notable time delay until the control-bar starts to move - and this gives a bad feeling. Please note that if the control-bar is focused, then the dragging begins with no delays, so there must be something you are doing in the focus changing. You can reproduce it easily in the sample application we used to solve the bug. Please note that just changing focus of the control-bars is lagged - put two control-bars one on top of the other, and make the one on bottom focused, it will take a notable time for it to become on top of the other control-bar. Please look into it and fix it, Thanks, Ron.
|
|
Technical Support
|
Oct 30, 2008 - 10:33 AM
|
We confirm this delay issue in Debug configuration. In Release it’s OK.
|
|
Offer Har
|
Oct 30, 2008 - 8:56 AM
|
??? Can we get an answer???
|
|
Offer Har
|
Oct 30, 2008 - 12:35 PM
|
OK... so I can understand that 2.84 will be available in the first half of November? You have to undestand that we need a date so we can define out time-tables, which derive from yours...
|
|
Technical Support
|
Oct 30, 2008 - 10:33 AM
|
We need approximately 2 hours for building installations and publishing new Prof-UIS 2.84. We can stop testing it and publish it right now. But our choice is to resolve all the known issue before release.
|
|
Offer Har
|
Nov 7, 2008 - 2:43 PM
|
Can you give an estimate? We need to release versions of our products as well...
|
|
Offer Har
|
Oct 30, 2008 - 8:56 AM
|
Please are wasting time writing messages that just evaporate!
|
|
Offer Har
|
Oct 29, 2008 - 7:52 AM
|
I also have many other un-answered questions... it seems like a complete ingoring from your side! Is there realy a support team???
|
|
Technical Support
|
Oct 30, 2008 - 4:36 AM
|
We sent a sample (which illustrates what you are looking for) by email yesterday. If you did not receive it, just let us know.
|
|
Offer Har
|
Oct 30, 2008 - 5:16 AM
|
There are errors in this version - I build in MBCS Debug: 1>------ Build started: Project: ReportGrid, Configuration: MBCS Debug Win32 ------
1>Compiling...
1>StdAfx.cpp
1> Automatically linking with Prof-UIS library: ProfUIS284md.lib
1> (Professional User Interface Suite)
1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\atlsimpstr.h(780) : error C3859: virtual memory range for PCH exceeded; please recompile with a command line option of ’-Zm111’ or greater
1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\atlsimpstr.h(780) : fatal error C1076: compiler limit : internal heap limit reached; use /Zm to specify a higher limit
1>StdAfx.cpp
1> Automatically linking with Prof-UIS library: ProfUIS284md.lib
1> (Professional User Interface Suite)
1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\atlsimpstr.h(780) : error C3859: virtual memory range for PCH exceeded; please recompile with a command line option of ’-Zm111’ or greater
1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\atlsimpstr.h(780) : fatal error C1076: compiler limit : internal heap limit reached; use /Zm to specify a higher limit
1>Build log was saved at "file://x:\SoS\3rdParty\Prof-UIS284\Bin_800\MbcsDebug\ReportGrid\BuildLog.htm"
1>ReportGrid - 4 error(s), 0 warning(s) 3>------ Build started: Project: ProfUIS_Controls, Configuration: MBCS DEBUG Win32 ------
3>Linking...
3>MainDlg.obj : error LNK2019: unresolved external symbol "public: __thiscall CPageShellDialogBrowseFor::CPageShellDialogBrowseFor(class CWnd *)" (??0CPageShellDialogBrowseFor@@QAE@PAVCWnd@@@Z) referenced in function "protected: virtual int __thiscall CMainDlg::OnInitDialog(void)" (?OnInitDialog@CMainDlg@@MAEHXZ)
3>MainDlg.obj : error LNK2019: unresolved external symbol "public: __thiscall CPageShellDialogFile::CPageShellDialogFile(class CWnd *)" (??0CPageShellDialogFile@@QAE@PAVCWnd@@@Z) referenced in function "protected: virtual int __thiscall CMainDlg::OnInitDialog(void)" (?OnInitDialog@CMainDlg@@MAEHXZ)
3>MainDlg.obj : error LNK2019: unresolved external symbol "public: __thiscall CPageShellBrowser::CPageShellBrowser(class CWnd *)" (??0CPageShellBrowser@@QAE@PAVCWnd@@@Z) referenced in function "protected: virtual int __thiscall CMainDlg::OnInitDialog(void)" (?OnInitDialog@CMainDlg@@MAEHXZ)
3>MainDlg.obj : error LNK2019: unresolved external symbol "public: __thiscall CPageShellTreeCtrl::CPageShellTreeCtrl(class CWnd *)" (??0CPageShellTreeCtrl@@QAE@PAVCWnd@@@Z) referenced in function "protected: virtual int __thiscall CMainDlg::OnInitDialog(void)" (?OnInitDialog@CMainDlg@@MAEHXZ)
3>MainDlg.obj : error LNK2019: unresolved external symbol "public: __thiscall CPageShellListCtrl::CPageShellListCtrl(class CWnd *)" (??0CPageShellListCtrl@@QAE@PAVCWnd@@@Z) referenced in function "protected: virtual int __thiscall CMainDlg::OnInitDialog(void)" (?OnInitDialog@CMainDlg@@MAEHXZ)
3>MainDlg.obj : error LNK2019: unresolved external symbol "public: __thiscall CPageTreeCtrl::CPageTreeCtrl(class CWnd *)" (??0CPageTreeCtrl@@QAE@PAVCWnd@@@Z) referenced in function "protected: virtual int __thiscall CMainDlg::OnInitDialog(void)" (?OnInitDialog@CMainDlg@@MAEHXZ)
3>MainDlg.obj : error LNK2019: unresolved external symbol "public: __thiscall CPageListCtrl::CPageListCtrl(class CWnd *)" (??0CPageListCtrl@@QAE@PAVCWnd@@@Z) referenced in function "protected: virtual int __thiscall CMainDlg::OnInitDialog(void)" (?OnInitDialog@CMainDlg@@MAEHXZ)
3>MainDlg.obj : error LNK2019: unresolved external symbol "public: __thiscall CPageMaskedEdit::CPageMaskedEdit(class CWnd *)" (??0CPageMaskedEdit@@QAE@PAVCWnd@@@Z) referenced in function "protected: virtual int __thiscall CMainDlg::OnInitDialog(void)" (?OnInitDialog@CMainDlg@@MAEHXZ)
3>..\..\Bin_800/ProfUIS_Controls-md.exe : fatal error LNK1120: 8 unresolved externals
|
|
Technical Support
|
Oct 30, 2008 - 10:32 AM
|
Prof-UIS 2.84 is notably larger than 2.83. Some big projects based on Prof-UIS 2.84 now may require -Zm option specifying enough large compiler memory. For instance, most of the sample applications for Visual C++ 6.0 now contain -Zm512 option in project settings because Visual C++ 6.0 compiler does not allocate enough memory for compiling them. All the Prof-UIS sample applications for Visual Studio .NET / 2005 / 2008 can be compiled without -Zm option on our computers (each have 2GB memory or higher). We can add such option into sample projects for Visual Studio .NET / 2005 / 2008 and into Application Wizard, but we never faced such problems on these Visual Studio versions. You can set this option manually in any project which cannot be compiled on your computer. Please provide us with more information about your computer configuration. This is important for us and should allow us to avoid such situations in the future.
|
|
Offer Har
|
Oct 30, 2008 - 12:33 PM
|
My computer details: XP SP3 4 GB Ram VS 2005 SP1 Please note also that there are link errors in ProfUIS_Controls
|
|
Offer Har
|
Oct 30, 2008 - 4:40 AM
|
I did receive - thank you, and I am learning it now. My question still remains - how and what can we do it get a more prompt support? There are a lot of un-answered questions that you never answer. And asking again - when is 2.84 supposed to be released?
|
|
Robert Webb
|
Oct 28, 2008 - 7:15 PM
|
Hi,
Any chance of switching to a more usable forum such as phpBB? The current forum is frustrating in many ways, here are a few:
- I can’t find a list of all posts I’ve made.
- Can’t find a list of subscribed topics.
- Can’t see a way to subscribe to a topic after posting it, if I forget to tick the "Notify me" box.
- Can’t see a way to subscribe to someone else’s topic.
- No way to edit/delete previous posts.
- Replies appear in a random spot within the thread. I know it’s not really random, but it may as well be. New posts should always appear at the end of the thread, not somewhere in the middle.
- If I take too long to type in my post, then it tells me I’ve timed-out, so I hit Back to get back to what I typed in but it’s all been deleted! The whole post is now lost and I have to start again.
- Every time I hit Enter it inserts two new-lines. I automatically hit Enter twice if I want two new-lines, and then have to hit Backspace to undo the unwanted one. There’s lots of weirdness with new-lines. Sometimes it looks the way I want it in the entry box, but ends up showing a bunch of extra new-lines in the final post.
- You can only search one forum at a time. I want to search both the Support and General forums.
- It won’t remember me and auto-log me in.
- It won’t show me new posts since last log-on.
- When viewing a post, it will show something like this at the top:
"Home >> Tech Support >> Prof-UIS >> Support Forum"
With each element clickable except for the last. I’ve often wanted to click on that last link to the Support Forum.
Basically it’s a really unfriendly unusable and frustrating forum. Using something like phpBB would solve all these problems. If it’s a pain transfering old posts across, then I suggest keeping the old forum in a read-only state as archive and start the forums again from scratch. The sooner you do it the sooner it will start filling up with content again.
Thanks,
Rob.
|
|
Jeroen Walter
|
Nov 3, 2009 - 1:28 AM
|
|
|
Offer Har
|
Oct 28, 2008 - 8:58 PM
|
Totally agree! The forus is very unfriendly.
|
|
tera tera
|
Oct 28, 2008 - 6:41 PM
|
Hello. I want to display AfxMessageBox( or MessageBox ) in the central location of the grid.
Is such a thing impossible?
|
|
Peter Meier
|
Nov 8, 2008 - 5:41 AM
|
Hi Thank you for the skinned messagebox example. However, using it "as is" in a customizable application does assert when resetting control bars within the customization dialog, due to the application resources not being found when the AfxMessageBox function is called from within Prof-UIS. I had to add AfxSetResourceHandle(m_hRes) to the DoMessageBox function, whereby m_hRes is loaded with m_hRes = AfxGetResourceHandle() in InitInstance of the my application. With that, it seems to works fine.
|
|
Technical Support
|
Nov 10, 2008 - 1:25 PM
|
Thank you for your comments. This message box is not our work. It’s just ported to Prof-UIS and it’s possible to improve it and make it having no resources. For instance, Prof-UIS’s About box does not use dialog resources.
|
|
Technical Support
|
Oct 29, 2008 - 2:11 PM
|
|
|
jihad bayssary
|
Oct 28, 2008 - 8:34 AM
|
For whom may concern, I was downloading the liscence i purchased and suddenly the internet was cutted off and everything stoped. Then i tried to resume the download but an error appeared and the download page was closed. I enetered again to the download page on the prof-uis web and i tried to download again the liscence but it locked. what should i do. Please help.
|
|
Technical Support
|
Oct 28, 2008 - 11:31 AM
|
We have just checked the download page and found no problems. If you are still experience problems, just contact us via email at support@prof-uis.com so we can tell you how to download the software via ftp. We are sorry for any inconvenience we may have caused.
|
|
Offer Har
|
Oct 28, 2008 - 5:44 AM
|
Can you please answer this (I’ll explain it simply...): Is it available only in 2.84? If yes - please send me 2.84, a sample source explaining this new feature, and answer this - When is 2.84 will be releases? If no - can you please send me the sample explaininghow to implement it? Please, we need this ASAP!
|
|
tera tera
|
Oct 28, 2008 - 1:24 AM
|
Hello.
I want to display the tool tip of the specific cell.
I made the following programming.
Is the program good in this? void XXXGrid::CellToolTip( CExtSafeString strNewTipText , CPoint * pPntFocus )
{
CExtGridCell *pCell = NULL;
CPoint ptFocus ; ptFocus = FocusGet(); CRect rc;
GridCellRectsGet(
1,
ptFocus.y ,
0,
0,
NULL,
&rc
); CRect rcExcludeArea;
GetWindowRect( &rcExcludeArea );
rc.left += rcExcludeArea.left;
rc.top += rcExcludeArea.top;
rc.right += rcExcludeArea.left;
rc.bottom += rcExcludeArea.top; SetCursorPos( rc.left + rc.Width() / 2 , rc.top + rc.Height() / 2 ); CExtPopupMenuTipWnd & wndTip = GetTip();
wndTip.SetText( LPCTSTR(strNewTipText) );
wndTip.Hide(); CWnd * pWnd = FromHandle( m_hWnd );
wndTip.Show( pWnd, rc , true );
}
|
|
tera tera
|
Nov 5, 2008 - 6:55 PM
|
|
|
Technical Support
|
Nov 6, 2008 - 12:57 PM
|
Your code looks correct. Please check a return value from the GridCellRectsGet() method. If it returns false() , the grid cell is outside the displayed on screen cell range and you should not try to show the tooltip.
|
|
Scott Moore
|
Oct 27, 2008 - 7:19 AM
|
I have an application similiar in design to your SDI_DynamicBars application. When I run your SDI_DynamicBars sample, I noticed the Edit menu (Cut/Copy/Paste) is always greyed out. Yet the popup menus seem to be working correctly. I have the same problem in my application. Command message routing does not seem to work correctly for all the dynamic bars, especially floating bars. My edit menu does not seem to get command messages from the focus window. I copied the CMainFrame::OnCmdMsg code from your sample application and it did not fix my menu issues. Can you explain how to fix command routing when using dynamic bars?
|
|
Technical Support
|
Oct 27, 2008 - 2:13 PM
|
Your application is responsible for command routing into windows inside control bars both in MFC-based and Prof-UIS-based applications. In the case of SDI_DynamicBars sample the CMainFrame::OnCmdMsg() method should have the following source code: BOOL CMainFrame::OnCmdMsg(UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo)
{
if( CExtDynamicBarSite::OnCmdMsg( nID, nCode, pExtra, pHandlerInfo ) )
return TRUE;
if( nID == ID_EDIT_COPY || nID == ID_EDIT_CUT || nID == ID_EDIT_PASTE )
{
HWND hWndFocus = ::GetFocus();
if( hWndFocus != NULL )
{
CWnd * pWnd = CWnd::FromHandlePermanent( hWndFocus );
if( pWnd != NULL
&& pWnd->OnCmdMsg(nID, nCode, pExtra, pHandlerInfo )
)
return TRUE;
}
}
if( m_wndView.OnCmdMsg(nID, nCode, pExtra, pHandlerInfo ) )
return TRUE;
return CExtNCW < CFrameWnd > :: OnCmdMsg( nID, nCode, pExtra, pHandlerInfo );
} This makes the ID_EDIT_COPY command in a menu bar working correctly with edit controls in dynamic control bars. It will be enabled only if some edit control is focused and some text range is selected in it. The ID_EDIT_CUT and ID_EDIT_PASTE commands will remain disabled because all these editors with colored backgrounds are read-only.
|