|
However, it shouldn't take hours and hours and hours of training to understand an installation package. I spent several weeks studying installshield and I use to use it regularly. Compared to other packages on the market, installshield is overly complex...
You're obviously not a linux fan then .
David Wulff
dwulff@battleaxesoftware.com
|
|
|
|
|
I'll agree that Installshield is much to expensive. Anyone from Instalshield out there, PAY ATTENTION!!
As for taking hours to learn, that depends on the individual of course. Some master subjects easier than others. In general however just as with <insert language="" here=""> it takes time to master it.
|
|
|
|
|
Yes he is!
|
|
|
|
|
I've only ever had experience installing VS 6 Enterprise edition, but after you install VS (or any of it's components), and then after you optionally install MSDN, you should be asked to install the additional tools (or which InstallShield is an option).
|
|
|
|
|
Hi there,
I am trying to use CListCtrl in a dialog box as a one column table.
So, I insert a column as following on the OnInitDialog:
m_List.InsertColumn(0, _T("Names"), LVCFMT_LEFT, -1, -1);
m_List.SetColumnWidth(0, LVM_SETCOLUMNWIDTH );
I have selected this to be of Report Type and to have scrolling.
My problem is that whenever I have a lot of names which would require
vertical scrolling, my horizontal scrolling also kicks in, evnethough
visually it's not needed.
i.e.
When my list has
1234
12
15
12
2
45
67
vertical scrolling comes in because we need to see the bottom part
but these numbers are too small to justify horizontal scrolling at
that time.
How do you force the List to be more smart? or for that programmer
its programmer?
|
|
|
|
|
Hello, the codegurus around the world.
Probably, you don't need insert all data to CListCtrl.
1) Create Array object like CArray to restore all column data.
2) Calculate the data number which don't show the scroll bar at all.
3) If the user want to move up or down the data, refill the data on the index
which going down or up by one index or more.
Refilling the data brings GUI flicker, and maybe you need some type of
owner draw CListCtrl?
Good luck.
Have a nice day!
-Masaaki Onishi-
|
|
|
|
|
m_List.SetColumnWidth(0, LVM_SETCOLUMNWIDTH );
You have your constants mixed up. LVM_SETCOLUMNWIDTH is a message. Pass LVSCW_AUTOSIZE instead.
--Mike--
http://home.inreach.com/mdunn/
You are the weakest link, GOODBYE!
|
|
|
|
|
From MSDN:
CListCtrl::SetColumnWidth
This method changes the width of a column in report view or list view.
BOOL SetColumnWidth(
int nCol,
int cx );
Parameters
nCol
Specifies the index of the column whose width is to be set. In list view, this parameter must be –1.
cx
Specifies the new width of the column. Can be either LVSCW_AUTOSIZE, LVSCW_AUTOSIZE_USEHEADER or LVM_SETCOLUMNWIDTH.
Return Value
Nonzero if it is successful; otherwise, it is zero.
|
|
|
|
|
I have tried to implement a drag and drop functionality based on the cmnctrl sample, except I tried to expand by using SetInsertMark in some case to signify that the item wqill be inserted rather than inserted as a child, but the as the dragging image from the CImageList is dragged around it leaves a trail of unerased insert marks & drop selections which have be erased while the drag image has been over them, how do I avoid this?
Joel
-My cup of tea has caught fire
|
|
|
|
|
Hi, i would like to know, in a human-readable output please, what does that mean:
classX * pclassX = (classX*) classY->pclassZ
|
|
|
|
|
you're declaring a variable named "pclassX" that is of type "classX". you're assigning to that variable, the value of classY's pclassZ member. but, for whatever reason, you're telling the compiler that the pclassZ member is to be treated as a pointer to classX.
-c
------------------------------
Smaller Animals Software, Inc.
http://www.smalleranimals.com
|
|
|
|
|
Does that code scare anybody else?
<shiver>
|
|
|
|
|
Declare a pointer to classX and initialize it to the address pointed by pClassZ (which is a member of classY).
Maybe it would be easier for you to understand, if we break it into multiple lines:
classX * pclassX; // declare a pointer
classZ * myPointerToZ = classY->pclassZ;
pclassX = (classX *) myPointerToZ;
I vote pro drink
|
|
|
|
|
classX * pclassX; // declare a pointer classZ * myPointerToZ = classY->pclassZ;
pclassX = (classX *) myPointerToZ;
Ok, but why not
classX * pclassX;
myPointerToZ = classY->pclassZ;
pclassX = myPointerToZ;
???
Why the "(classX *)" ?
|
|
|
|
|
I assume that pclassZ is of type classZ* Since pClassX is of type classX*, you cannot assign pclassZ to pclassX without casting. They are different types; E.G.
char* pChar;
float* pFloat;
*pFloat = 1000.00;
pChar = (char*) pFloat; // OK (although not very wise)
pChar = pFloat; //Error
I vote pro drink
|
|
|
|
|
(classX*) classY->pclassZ;
This is casting (like forcing) a type pclassZ to a type classX*.
A good example of this is with casting dialog controls from CWnd* types. CWnd::GetDlgItem(IDC) returns a CWnd*, and is cast as the type of control you are wanting to reference.
CListBox* pLB = (CListBox*)GetDlgItem(IDC_MY_LISTBOX_ID);
|
|
|
|
|
Hello,
How is it possible to detect a tap anf hold in an edit box control ? I mean how to detect the
"tap" (stylus down) ? Once it's done, to determine if the stylus is hold, I think that calling
SHRecognizeGesture will be right. But the main problem is to determine that the user pressed the
stylus inside the control.
Indeed, the first time the edit control is selected, it generates a WM_NOTIFY with code EN_SETFOCUS
to the parent of the edit control, but once the edit control is selected and has the focus, tapping
inside it does not generate anything (no WM_LBUTTONDOWN, no BS_CLICK, ...)
Any idea ? Thank's in advance.
--Francois
francois_pessaux@yahoo.fr
|
|
|
|
|
I believe that you are mistaken, a WM_xBUTTONDOWN message is sent for the proper button when the mouse button is pressed. You can investigate all of the messages that are sent to any window in any application by using Spy++ in the tools of your Dev Studio implementation.
|
|
|
|
|
just wanted to say hello to everyone and that i'm new on these forums as well as very new to programming. i'm hoping that someday i won't be the one asking but answering the questions.
|
|
|
|
|
You are welcome!!!
Cheers!!!
Carlos Antollini.
|
|
|
|
|
Welcome to the jungle.
I vote pro drink
|
|
|
|
|
Hi there,
I am having problem with a TreeCtrl that I have. As it stands, if I right click on the area passed a tree item, it will still think that i have clicked on the tree folder item or its text and provide the same context menu.
How do I force this thing to recognize whether it is clicking exactly on the treeview item text and folder or the blank area in front of it.
thanks
|
|
|
|
|
Perform a hittest and then check if the flag is TVHT_ONITEMRIGHT which is to the right of the item
Bret Faller
Odyssey Computing, Inc.
|
|
|
|
|
i'm usein mfc wizard with dialog based app. i put a msflexgrid control and managed to populate the first cell. i can't get the data to move down into the second row, it insists on remaining in the top row and when i try and add in a second piece of data for the next cell below it always takes the last data entry and replaces the first. can someone with more experience then i help please!!
|
|
|
|
|
Hi,
I'm compiling Keywords to add to my XEmacs Syntax Highlighting... I added all the win32 basic types and am now wanting to add MFC Class names (like CTreeCtrl), however even google doesn't seem to know where to find a simple list of all classes... I don't really feel like copy and pasting, I prefer scripting the operation,....
does anyone know where to find a complete list that is copy-able?
-- Arjen
|
|
|
|