Size of the drowpdow list of a combo box
Below is my attempt at creating a combo box. The item is correctly
displayed, but the dropdown list has a size of zero. How can I change this
so I can see the options?
Thanks for your help.
HWND hWnd = GetSafeHwnd();
CWnd *dialog = CWnd::FromHandle(hWnd);
ctlRect.left = 130;
ctlRect.top = 50;
ctlRect.right = 220;
ctlRect.bottom = 80;
outputVolumeCB = new CComboBox();
outputVolumeCB->AddString(&qu...combo box on unbound form
I have an unbound form, frmClients, interacting with class Clients. On the
form I have a combo box, cboNationality, based on tblNationalities but I
can't make it work. Do I need to also create a class for nationalities and
then create a parent child relationship with class Client? I am new to
classes, this is my first attempt, and so far I have really followed a recipe
from a book. Unfortunately the book doesn't explain what happens in this case.
Thanks in advance, George
Sounds like you need a TABLE of clients (and a bound form)
why are you using a class?
"George&quo...Why does message show date/time in Sent box when draft (not sent)
Hi would be grateful if anybody can shed any light on the following problem.
I sent an e-mail with a draft e-mail as an attachment. The draft e-mail
has not been sent yet and is saved in Drafts in Outlook. Yet the recipient
of the message says that the draft e-mail has got a date and time in the Sent
box. Upon checking in Sent Items the message has not got a date and time
in the Sent box but when you print the message off a date and time does
appear in the Sent box does anybody know the reason for this?
...dropdown list question
I am using an in-cell dropdown list that is populated from a vba string. I
have encountered a 255 character limit for the list of lookup items. Is
there any way around this other than using spreadsheet cells to store the
The data validation list can come from a delimited list or a worksheet
range. You could store the list on a hidden sheet, if you don't want
users to accidentally change it.
> I am using an in-cell dropdown list that is populated from a vba string. I
> have encountered a 255 character limit for the list of lookup i...matching a column of numbers to another in another spreadsheet
I have a spreadsheet of shortpayment amounts and their invoice numbers on one
spreadsheet with a column of credit amounts with their invoice numbers on
another spreadsheet. I need to match the credits written with the
kinda like this
spreadsheet 1 spreadsheet 2
inv # amount date Credit #
122334 15.00 11-25-09 675555 15.00
223345 22.00 10-20-09 754444 22.00
naturally...Creating column content based on another column's keyword(s) #2
That scriptlet was very useful, and easily tweakable to work in myria
KHashmi316's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=1043
View this thread: http://www.excelforum.com/showthread.php?threadid=27348
Glad to hear that !
Thanks for posting back
Please respond in thread
"KHashmi316" <KHashmi316.email@example.com> wrote in message
news:KHashmi316.1e...I want to open a dialog box with a button
I have created a MFC dialog application with a dialog box and i want to
know how I do to open a second dialog box when I push in the button1 in
the first dialog box!
Thank you for you help
<firstname.lastname@example.org> wrote in message
> I have created a MFC dialog application with a dialog box and i want to
> know how I do to open a second dialog box when I push in the button1 in
> the first dialog box!
Do you mean something like calling DoModal in the BN_CLICKED handler, or
Jeff Part...Grabbing a number from another cell on another worksheet
I have a spreadsheet with a number of different worksheets. All I want to do
is if I enter a number into a cell on the 2nd worksheet for example, I want
it to automatically show in a specific cell on the first worksheet. So a
simple copy and paste but for excel to automatically do it for me! it seems
like something so easy that I just cant figure out how to do.
Do this once.
Select the cell on the 2nd sheet
Navigate to the other sheet and select the cell where you want the value to
Right click>Paste Special>Paste Lin...Acessing function with a DLL which has be loaded from another dll
I have A.dll and B.dll.
Assume that A.dll has following functions:
Assume that B.dll has following functions:
I am loading B.dll from function A1() in A.dll.After Loading B.dll i
make a call to B1().After executing the call the function returns to
beginning of A2.dll.
why is this so?
Define "begining". The word tends to make no sense in this context.
What you seem to be saying is that you have
HANDLE h = ::LoadLibrary(_T("B.DLL"));
...test for h==NULL, deal with error
typedef void (*B1)() B1Proc;
...Populate data in cell by looking at another cells data
Hope I find you well.
I'm not even sure how to go about this, so I hope that
someone can shed some light.
I have a serial number in one cell eg '80199DD270238'
where 'DD' is code for another value, in this case 'DD'
How can I automatically populate a cell with the
value 'BLUE' by looking at the serial number.
Many thanks for any help you can provide.
if the characters are alsways at the same place use
if they could be at ...Sum dependant on '1' value in another column
Let's say I have a '1' or nothing in column 'L' and a time in seconds in
column 'B'. The '1' means the time is a legitimate one. Can I do a sum of
all the 'legitimate' times in column 'B' based on whether there is a
corresponding '1' in column 'L'? Is there a formula that will allow me to
do that? Sorry for the ignorance of the question but it is late and I am
struggling to make this spreadsheet work for me.
Thanks in advance,
Look at the SUMIF function in Excel help.
=SUMIF(L1:L10...is it possible to execute write to the fields in another .xsl form a macro in another .xsl? e.g. some way to load another .xsl into an .xsl macro and write to its data? #2
is it possible to execute write to the fields in another .xsl form a macro
in another .xsl? e.g. some way to load another .xsl into an .xsl macro and
write to its data?
...Budget Forecast question
Hi - I've just started using Money 2000 and I've set up a Budget.
My question is that in the Budget Forecast graph that I can display, I want
to know how to verify that my Budget is valid.
If I hover over the first bar in the Forecast (My graph is set to show
'days' as a level of detail) I see 2 figures - one for Day-to-Day Accounts
and one for Occasional Expense Fund. If I add these figures together I get a
total. What can I check this total against? I've tried looking at the current
balances in my accounts and looking at the expenses I have set in my Budget
but ...Automatic Link to another workbook
I have a workbook created that, every time I open it, I
get the question: Do you want to update the automatic link
to data in another workbook?
I didn't consciously set up a link and I don't want to get
this message. How do I find this link and break it so I
will not continue to get this message?
Any help is appreciated.
Close any other Excel workbooks you have open and do a "Find" for :\ (colon
If you have several worksheets in your workbook, ask Excel to search the
entire workbook by selecting find within "Workbook" instead of "Sheet&quo...Zoom box command
I am using the following code:
Private Sub cbutAddNote_Click()
Seems pretty basic but I keep getting the error: A problem occurred while
Daily Field Report was communicating with the OLE server or ActiveX control.
Message posted via AccessMonster.com
In fact any command button I add to this form doesn't work - same messgae I
stated above. However the buttons work in all the other forms I have....
Message posted via AccessMonster.com...Multiple Queries Question
I have a database to track awards for our program. I have created several
queries and reports however I want to do a all inclusive status report for
the Awards program.
I have made Queries for Pending Awards for the Current Week, Previous Week,
Previous Month, Current Month, Previous Qrter, Current Qrter, Current YTD,
Previous Year. I also have Queries for presented Awards for Current and
Previous: Week, Month, Quarter, Year
I have a question that I am stumped on. The several queries that I have made
I want to place into one report. In some cases one of these queries may have
blank ...Copying from one ListControl to Another...
Hello everyone, I have been studying how List Controls work, and now I
have two List Controls, A and B. Both of the list controls are in
Report_View and they both have the same # of columns. What I would
like to do is copy each entry of A into B.
I use CListCtrl::GetItem(..) to get the item, and I use
CListCtrl::InsertItem(..) to insert the item into B. However, this is
not working. It is only inserting the first subitem.
Is it possible to copy the entire item i.e, subitems 0-2 from CListCtrl
A into CListCtrl B?
...Another question about IF(COUNTIF) checks in Excel
<Tiff1618@discussions.microsoft.com> wrote in message
> > Hey again,
> > Is there a formula I can use to figure out if there is one specific phrase
> > in a selection?
> > I'm updating the attendance prgram at the school that I work at. Every
> > student has their own attendance sheet in Excel, and each sheet sort of
> > looks
> > like this:
> > |Monday|
> > Period 1:| A | (A=Absent; S=Seat time)
> > Per...combo box and subform help
In my subform for each seperate order, I want to beable to select a
descripton name from the combo box. When the description name is selected,
the price associated with that name should come up in the subform. I have
tried to put the combo box in the table for description and make a query
but, the information associated with the description name will not come up.
Create the combo box cboItem with the RowSource something like:
SELECT tblItem.ItemKey, tblItem.ItemDescription, tblItem.SellPrice FROM
Set the number of columns to 3
Set the column widths to 0;2;0 or something e...Another If/Ten
Trying to use IF/THEN to look at Column A on one sheet, if any cell in that
column equals today() would like cells from that row to fill in another
Is this possible? Any ideas on how to make that happen??
Maybe you can use format|Conditional formatting.
Select the range to color (I used A2:X999).
With A2 the activecell, I did:
and give it a nice format
Brian Bennett wrote:
> HI all.
> Trying to use IF/THEN to look at Column A on one sheet, if any cell in that
> column equal...Another Gag thread
What's the difference between an Irish wedding and an Irish funeral?
One less drunk at the funeral.
The mayor of New Orleans was asked about his position on Roe vs. Wade.
He said he didn't really care how people got out of the city.
"AB" <AB@discussions.microsoft.com> wrote in message
What's the difference between an Irish wedding and an Irish funeral?
One less drunk at the funeral.
By looking at a picture of a person, you have to decide if he is a computer
geek or a serial k...Money budget question from a beginner
once I create a budget and go to see the budget report, I
can see excelent results of the months. The problem is
that the report shows only budgeted expenses and if I
have 1K of unbudgeted amount I will not see that on the
report. Does that report and the budged worths anything
then Or I'm doing something wrong? I gues it is second
choice. Could anybody advise? Thanks.
...sort data inside combo boxes
Can you sort data in combo boxes?
Column A1 = Owner (Owner data A2 - A50)
Column D1 = Buildings (Building data D2 - D50)
The building data are combo boxes (D2 - D50)
Each combo box refers to exactly the same list (J1-J50, J1
is blank) but the linked cell is different for each.
I would like to sort by Buildings but make sure all the
data belonging to that building comes with it.
Is this possible? Thanks.
...wss and moss question
I have separate vhd's for wss and moss. Since it appears everything in
Central Administration for wss is on moss can I delete the vhd for wss? I
have not done any work yet on either one.
What are you going to use the VHD for? Micorosoft Office SharePoint Server
is a superset of the underlying Windows SharePoint Services foundation. So
yes, what you get with WSS you also get with MOSS.
Daniel A. Galant
Imagine what we could be... if we could just imagine.
"barry" <email@example.com> wrote in message
news:8FE249D6-...Question about Spam #2
This is a multi-part message in MIME format.
Which options I should activate to avoid that my server be use for =
spamming. Any documentation about it?
I have a Ms Exchange Standard 2003.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">