Edit box in a dialog box
I am trying to create an edit box inside a dialog box during runtime, using
MFC. Mine is a single document/view application.
The way I am trying to do, is as follows.
In the OnInitDialog() function of my dialog box(CmyDialog::OnInitDialog()),
I declare a CEdit object and call its Create() function.
myEdit.Create(ES_NUMBER | WS_OVERLAPPED | WS_VISIBLE, CRect(0,0,10,10),
I am expecting an edit box...if the cell value exceeds the limit to have a dialog box appear
Is there a way that, if the cell value exceeds a certain limit, a dialog box
Thanks for any assistance.
Check Data Validation:
Select the cells
Allow: (check out the number options: whole number, decimal, etc)
Does that help?
> Is there a way that, if the cell value exceeds a certain limit, a dialog box
> would appear?
> Thanks for any assistance.
Here's the scenario -- on an Expense Report:
If an employee was to fill in any amount in the &...I can no longer add words to my dictionary, can this be fixed?
I have noticed that a lot of features are no longer available to me on word,
most of which I have been able to fix, but I cannot save any changes to the
dictionary. I need to add a spelling and I cannot use the Add to Dictionary
feature. Is there a specific file/folder that I should be looking for?
See the relevant portion of
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
"Mrs.Heide" <Mrs.Heide@discussions.microsoft.com> wrote in message
news:...Fix for Unsent Messages
If your having a problem with "unsent" messages that have
no "date" and are not in "Italics," (several people seem
to be having problem) I just got the fix from my support
group. It's a conflict with the Norton anti-spam
program. There may be another way to defeat the anti-
spam program but here's how they had me "fix" it. Go to
My Computer/C:/Program Files/Common Files/Symantec
Shared/Anti-Spam and find the file named MSOUPLUG.dll and
rename it MSOUPLUGold.dll. Close out and restart the
computer. Fixed it for me. Hope it works for ...Excel 2003 / Windows Explorer (XP) sort order differs
In Excel 2003,
In XP's Windows Explorer and also using DIR/ON in a command prompt
shell window, the sort order is reversed.
How do I reconcile the two so they sort in the same order?
Thank you kindly.
Try this group instead
"John Bartley K7AAY" wrote:
> I...Macro: Dialog boxes....... click ok
Im doing some macro programming , and i have a problem.
In 2 specific macros excell prompts me (close of a excell=20
doc) with a save changes. (yes, no, cancel) who can a=20
make my macros "click NO"???
In another macros ask=B4s me if i really want to delete=20
that sheet (what of course, i want!)
Thanks a lot guys!
...Can't Find Macro In Dialog Box
In my file name
I went into VBE Insert Module and Pasted:
Sub InsertRowsAndFillFormulas(Optional vRows As Long)
' Documented: http://www.mvps.org/dmcritchie/excel/insrtrow.htm
' Re: Insert Rows -- 1997/09/24 Mark Hill <email@example.comSpam>
'Dim vRows As Integer
' row selection based on active cell -- rev. 2000-09-02 David McRitchie
ActiveCell.EntireRow.Select 'So you do not have to preselect entire row
xxxxxxxxxxxxxxxxxx blah, blah....
When I go back into the spreadsheet and Alt...auto-incrementing the next fixed asset ID
Does anyone have code to auto-increment the next Asset ID in GP 10.0 Fixed
grrr, I feel your pain. The way I have done it is with VBA. I put a button
on the form to get the next ID number. I stored the last ID number in the
DUOS table and then retrieve and increment it. My client sometimes wants to
assign their own, hence the button.
> Does anyone have code to auto-increment the next Asset ID in GP 10.0 Fixed
> Asset Management?
Very basic but I cannot get this work work and do not understand why.I
would appreciate any help
Dim myrange As Range
Set myrange = Range("AF1").CurrentRegion
I keep getting an application defined or object defined error.
Portland, Oregon USA
custom sorting... http://www.contextures.com/excel-sort-addin.html
wrote in message news:em4cFvC2KHA.5036@TK2MSFTNGP02.phx.gbl...
Very basic but I cannot get this work ...How to show "Run as" Dialog from MFC application
I have a SDI MFC application. I need to do the following:
When I run the MFC application for a non-admin user in Windows XP by
clicking on the executable, I need the application to pop - up the "Run as
following user" dialog.
And, if the credentials are right the application thread should run under
In short, I want the behaviour to be same as doing a right click on the .exe
and selecting Run As option.
See if the following link helps you
---------------...Trouble with a CRichEditCtrl in a Dialog
I've a read only CRichEditCtrl in a resizable
dialog for displaying a block of text. On
Win98(but not 2K) the vertical line spacing is
so small that the underscore character gets
erased by the line beneath it. I empirically
find that the following code corrects the
problem but it makes no sense, as I can verify
that the CHARFORMAT is not modified by a
subsequent GetDefaultCharFormat(). Am I
forgetting to initialize something that gets
corrected on a SetDefaultCharFormat(cf)?
cf.cbSize = sizeof(CHARFORMAT);
m_richEditCtrl.GetDe...Why does "Purchase" button not appear in Fixed Assets?!!
I want to ask: why does "Purchase" button not appear in Fixed Assets
general window?!! although both modules fixed assets and Purchase
already installed on the system!!
Notice that when i go to modifier on the same window, this button is
Plz can any body help?
On Jun 15, 2:36=A0pm, Yassir Humaid <yassir.hum...@gmail.com> wrote:
> Hi all,
> I want to ask: why does "Purchase" button =A0not appear in Fixed Assets
> general window?!! although both modules fixed assets and Purchase
> already installed on the system!!
> Noti...resizing CListCtrl in CFormView
I have a CListCtrl in a CFormView and I want the list control to resize with
the window but the SetWindowPos function is not working. Does anybody know?
I am trapping the WM_SIZE message which seems tobe the right one.
Chris Baker wrote:
> I have a CListCtrl in a CFormView and I want the list control to resize with
> the window but the SetWindowPos function is not working. Does anybody know?
> I am trapping the WM_SIZE message which seems tobe the right one.
Show your code. The correct approach always is to handle WM_SIZE in the
parent, and move the children.
Dav...Restarting System Jobs after fixing
My original problem was solved in this post:
In short, I moved the MSSQL server behind the scenes, and then renamed
the hostname and changed the port of the CRM Server (:80)
I followed this Article from Microsoft on how to update CRM after a
port change: http://support.microsoft.com/kb/947423
Everything now is working as expected. However, the 600+ jobs that
are 'Waiting' are not runn...Getting a value from a Text box in a dialog Box
Hello everyone, I am new to developing in Visual Studio .Net, and I
created a dialog box that has a textbox on it. I was wondering how I
could retrieve this text box value as well as assign it a certain value
Also, I was wondering if someone could post some good tutorials that
would answer some of my basic questions like I stated above. I have a
lot of c++ books, but nothing that describes MFC or the Win32 API in
> Hello everyone, I am new to developing in Visual Studio .Net, and I
> created a dialog box that has a textbox on it. I w...Resizing columns
I have small tables in 1 worksheet. I want column A in both tables to be
different sizes. Is this possible?
no, a column width applies to the whole worksheet
the only "alternative" is in the table where you want column A to be wider
is to merge it with column B - however, this is not really a good idea as it
can cause problems with sorting / filtering etc.
"Jill Leyland" <Jill Leyland@discussions.microsoft.com> wrote in message
>I have small tables in 1 worksheet. I want column A...Pub 2k3 Resize Column Evenly
Would you guys teach me how to resize/distrib the columns in a table
Best way is to create ruler guides and adjust the columns manually.
"Tom" <firstname.lastname@example.org> wrote in message
> Would you guys teach me how to resize/distrib the columns in a table evenly
Mary Sauer wrote:
> Best way is to create ruler guides and adjust the columns manually.
I am using a actual technical ruler and I use the ruler o...Can't Create a DLL Dialog Box object
I created a Dialog box class within a MFC share Regular DLL. I use the
Resource Wizard to create the Dialog and Class Wizard to define the derived
class. I'm exporting the class with the _declspec(dllexport) storage class
When I try to create an object of that derived Dialog box class in the
client application... the object pointer is NULL. I get no errors. The DLL
is loaded at load-time, the DLL Library is included in the linker. Do you
know what step(s) I might be leaving out ??
One person suggested adding the AFX_MANAGE_STATE macro... but, none of the
CDialog base ...Fixed Assets labels.
A customer is using GP 8.0 whit fixed assets module installed. He wants to
do an inventory assets and ticket every asset whit a code bar. I think it can
use a label field to store a code bar for each asset. Also, this field can be
imported into fixed assets module. Is that correct?
Yes, you are correct. Go into Setup> Fixed Assets > User Preferences to
identify the location of the files for the asset label (etc.) export.
"Ana Evelin Rosa" wrote:
> A customer is using GP 8.0 whit fixed assets module installed. He wants...Sender iD and 905214 hot fix
If im runnign windows 2003 sp1 and exchange 2003 sp2 do i still need to
install the hotfix?
You do if you are going to implement SenderID checking. If you are not
going to implement this filter, then the hotfix is not needed.
"skip" <email@example.com> wrote in message
> Hello all
> If im runnign windows 2003 sp1 and exchange 2003 sp2 do i still need to
> install the hotfix?
Thanks but when i read the KB ab...Dialog Controls
I want to dynamically move controls to x,y coordinates (I am skinnning my
app and will retrieve coordinates from ini)
I am stuck. Nothing I do is working. I can retreve the coordinates, but how
do I set them?
How they heck do you set them, I tried MoveWindow(Rect) and it doesnt seem
Any help would be apprecaited greatly!
Scott Kraemer wrote:
> I want to dynamically move controls to x,y coordinates (I am skinnn...Expanding the 'Refers To' Box in the Define Name Dialog Box
I'm trying to get my head around Excel Programing using VBA. I'm
reading various books, some of which provide examples on CD.
On the subject of named formulas, when I look in the examples using the
define name dialog box, the actual formula completely fills the 'Refers
Is there a way of expanding this box so I can see the contents in
The same thing happens in the Data Validation dialog box when I select
List, I cant view the complete entry in the source box.
It's probably something very elementary and your help would be
I do...Backing Up Fixed Assets
Our accounting staff would like a "stand alone backup of the fixed asset
portion of GP". They are undertaking year-end processes and would like to
recover the data should they do something horribly wrong.
I have nightly backups of sql server, but is there another quick way to just
do this information?
I see there may some informaton in system manager online manual, but have no
access to that.
For fixed assets you may want to create an archive company and just store a
backup of the current company as a 'test' company so they will be able to
look back at the...Inventory purchase moved to Fixed Asset
What is the proper way in GP to "purchase" an item out of our own inventory
and bring in as a fixed asset? For example, we have a workstation in
inventory, an employee's workstation dies and needs replaced. Need to "buy"
the item and add to Fixed Assets.
Is there an easy way to do this in GP?
Forgot to mention - since the item was originally brought in for resale, when
it is moved to fixed assets, needs to have Use Tax added to it.
> What is the proper way in GP to "...HTTPS Connection using Proxy authentication without poping the error Dialog
I am try to connect web server but if i have all acesses
(INTERNET_OPEN_TYPE_DIRECT) then it is ppossible to get and post the
data but if I use INTERNET_OPEN_TYPE_PROXY then it is not possible to
get the data.
i am giving it Proxy name and port like proxy:port, and giving user
name and password also but still 405 ect error r comming.
What are the basic need to acusse Web server unsing WININET
If there is a setting for proxy server on your machine, you can avoid using
it by specifying DIRECT. Try OPEN_TYPE_PRECONFIG to let Wininet detemine
when to use the global proxy info. OPEN...