avalon from within mfc ?
I am working for a bigger company that has a large win32 (mainly MFC)
codebase. Their products mainly are audio- and multimedia authoring
applications for the home user market (allthough there are some pro tools
too ). Since most of those apps rely heavily on performance and they need
to support older OSes too they don't see themselfes moving to .NET anytime
As Longhorn with Aero and Avalon emerges they are starting to get worried
about if their win32/MFC applications will be able to benefit fromt the
userexperience that Aero and Avalon promise. I think this a situiati...VLookup VBA error trapping
Can anyone tell me how to modify this formula to trap errors? I tried
wrapping it in IsError (code) Then...but it doesn't work.
Public Sub RunMeNow()
Dim i As Long
Dim iLastRow As Long
iLastRow = .Cells(.Rows.Count, "A").End(xlUp).Row
For i = 3 To iLastRow 'iLastRow to 1 Step -1
.Cells(i, "B").Value = Application.VLookup( _
.Cells(i, "A").Value, Range("RegionGrouping"), 2,
Or any other way I can handle an error with this type of pr...trapping LVN_ENDSCROLL
I'm trying to trap the LVN_ENDSCROLL notification in my parent, but
don't seem to get it.
Here's what I have.
In my parent's header:
void OnLvnEndScroll(NMHDR *pNMHDR, LRESULT *pResult);
In the source:
void CSKListCtrl::OnLvnEndScroll(NMHDR *pNMHDR, LRESULT *pResult)
*pResult = 0;
In the message map:
ON_NOTIFY(LVN_ENDSCROLL, WM_QUICKLIST, OnLvnEndScroll)
where WM_QUICKLIST is mapped to my child's ID.
What am I doing wrong?
Well since I couldn't find a way of trapping LVN_ENDSCROLL, I just used
the HSCROL...non-integer scrollbar
I have an x-y (scatter) graph with non-integer, all positive x values and a
scrollbar set with an upper and lower limit. As I scroll, a vertical cursor
is moved through the chart but only to integer values. I'd like the vertical
cursor bar to move to each of the actual non-integer x values in my data as
I move the scrollbar.
Can anyone point me to VBA code or a formula solution to alter the scrollbar
so that it can handle non-integers?
My thanks in advance for any suggestions.
On Mon, 5 Nov 2007, in microsoft.public.excel.charting,
Brad <email@example.com> sa...MFC Project with /clr and CWinFormsControl
I have a VS2005 C++ MFC project that I modified to use /clr. The
program still worked ok. Then using an example I found I created a
button in a dialog box using
and instantiated it in the dialog by using
I added a click event and all worked ok, so I thought great, now I can
go for it.
I then used
Grid1.CreateManagedControl (WS_VISIBLE | WS_CHILD, IDC_GRID1, this);
The datagrid does display in my dialog, but I am unable to figure out
how to load it or give it columns, et...Calling .NET from MFC
Could somebody point me to some sample code to call a .NET from MFC
(no managed extensions please) ? I understand that this involves using
COM Interop but a complete example will be a great help because I
believe there has to be some additional plumbing on the .NET side.
Thanks in advance.
Because things are the way they are, things will not stay the way they
-- Bertolt Brecht
The answer lies here: http://www.codeproject.com/dotnet/nettocom.asp
On May 12, 10:33 am, T <sw.tejasvi...@gmail.com> wrote:
> Could somebody point me to some sample ...I am not receiving non-delivery receipts
I've recently moved from Outlook Express to Outlook 2007 and am not receiving
any non-delivery receipts for emails sent to the wrong email address. Any
"las42479" <firstname.lastname@example.org> wrote in message
> I've recently moved from Outlook Express to Outlook 2007 and am not
> any non-delivery receipts for emails sent to the wrong email address. Any
Well you wouldn't if the email address actually exists or is swept by a
How do write a piece of code that traps VBA error messages and ignores
See my post on 22/07/07 about an Automation error message
Take a look at what Allen Browne has at
Doug Steele, Microsoft Access MVP
(no e-mails, please!)
"Tony Williams" <email@example.com> wrote in message
> How do write a piece of code that traps VBA error messages and ignores
> See my post on 22/07/07 about an Automation error message
>...Outlook 2002 attachment problems to non-Outlook users
When sending Word files (.doc) as attachments in Outlook
2002 to users who don't have Outlook the attachment shows
up as a winmail.dat file. Any suggestions, anyone?
Send it using plain test formatting.
Diane Poremsky [MVP - Outlook]
Author, Teach Yourself Outlook 2003 in 24 Hours
http://www.poremsky.com - http://www.cdolive.com
Outlook Tips: http://www.outlook-tips.net/
Expert Zone http://www.microsoft.com/windowsxp/expertzone
Search for answers: http://groups.google.com
Most recent posts to the Outlook newsgroups:
http://groups.google.com/groups?as_ugroup=microsoft.public.outl...SLP in MFC
Could any one please explain me how to multicast SLP packet in MFC? Is
there any sample code for this?
If I knew what SLP was, I might have a chance to answer the question. Is it some protocol
implemented using UDP? If it involves UDP, I'd use CAsyncSocket. If not, since I don't
recognize the acronym, I'm otherwise at a loss.
On Sun, 14 Oct 2007 21:43:51 -0700, "firstname.lastname@example.org"
>Could any one please explain me how to multicast SLP packet in MFC? Is
>there any sample co...Combo showing non current employee
I have employees in a table. For a given job sheet form, the employee is
selected with a combobox listing all current employees. All fine.
If an employee leaves, they are marked as no longer current.
My problem is, if an old job record is looked at, the employee is not listed
since they are not current. The combo is blank.
I have gotten around this prior by editing the rowsource for [all current
employees] OR [selected employee].
But this only works in single form. I need it in a continuous form, and not
sure whether the best option is to reference the field in ...Trapping for keystrokes...
Is there a way I can write a little program that will trap the keyboard and
save whatever is being typed to a file? In other words, I need to write
something that will run in the background but will be able to know whatever
is typed on the keyboard and then save those keystrokes to a file on the
A keyboard hook.
On Tue, 30 Sep 2003 03:41:26 GMT, "sftwrdvlpr" <email@example.com> wrote:
>Is there a way I can write a little program that will trap the keyboard and
>save whatever is being typed to a file? In other words, I need to write
&g...Trapping a value to use in my form
I am quite new to this and need some help.
I have a form with a record source of a query. In the query I have the
criteria set to ask the user a question in a popup box which searches a
table for that input which is then reported back to the form to view
EmployeeNumberQuery is as follows:
Criteria: [Enter the Employee Number] <-this is the value I want
to capture and display in the form
This query also has other fields that are reported back to the form that
match the entered value
The Employee_Listing_Table is as follows:
Form Hea...Deny email to non users
Much as I hate to ask, but why doesn't someone at
Microsoft build a patch so Exchange 5.5 can refuse email
to non users like most mail software. Flood of non user
mail in outbound queue is getting a little out of hand. I
don't think that would be so hard for them to do. Give us
one last fix..
If we all would monitor our users traffic their would
probably be less spam on the net from these damn worms.
Microsoft has included this feature in Exchange 2003.
Please do not send email dir...Where to find the msdn of the new edition MFC
"eric" <firstname.lastname@example.org> wrote in message
It's called MFC Feature Pack for Visual Studio 2008
...windows resize event trap
I am trying to resize a form inside of excel base on windows resize
event (not workbook resize)... I've already try
Private Sub appevent_WindowResize(ByVal Wb As Excel.Workbook, ByVal Wn
MsgBox "you have resized excel"
and it works only with workbook resize...
I'll appreciate any help on this... thanks
...MFC 7 Merge module
I can't find the merge module to distribute MFC 7.1 DLLs. Can anyone help?
You may check the folder "Program Files\Common Files\Merge Modules" it is
usually located on the same driver as your windows.
Microsoft Online Partner Support
Get Secure! �C www.microsoft.com/security
This posting is provided ��as is�� with no warranties and confers no rights.
>Reply-To: "Gunnar Skogsholm" <email@example.com>
>From: "Gunnar Skogsholm" <firstname.lastname@example.org>
>Subject: MFC 7 Merge module
>Da...Starting Excel from a non-MS application
What is the command line syntax for invoking Excel to
open to a specific place (i.e. either a specific cell or
a named bookmark)?
see your post in Excel.misc
P.S.: please don't multipost
Rob Gordon wrote:
> What is the command line syntax for invoking Excel to
> open to a specific place (i.e. either a specific cell or
> a named bookmark)?
Sorry. Wasn't sure which category was more appropriate
>see your post in Excel.misc
>P.S.: please don't multipost
...VC++ 2005 - MFC
Can someone please explain how to get accelerator keys to work in a MFC
application. I'm using CFormview.
I have a menu and a toolbar (both with the id ID_VIEW_REFRESHDATABASE) and
they work perfectly Both are called in MyFormView.
I then added the accelerator key with the same id. but NOTHING HAPPENS.
What am I missing?
English is not my first, or second, language
so anything strange, or insulting, is due to
Please correct me so I may improve my English!
It probably depends are where you put the handler and which window is active
at the time y...Non Inventory Item in Invoicing
for non-inventory item entered in Trx>Sales>Invoicing, the edit list show
One or more line items containing error.
what is the minimum posting a/c that need to be set for non-inventory items?
In Posting Accounts setup, Sales series, you need to set the account
for Non-Inventoried Items. However, some companies choose to leave
this account blank in Posting Accounts Setup to force account
selection at transaction processing time because different accounts
may need to be used based on different non-inventory items.
East Coast Dynamics
www.eastcoas...Trapping Ligitimate Mail
Have IMF installed on Exch 2k3. I know I can adjust the
sensitivity of the filter. It seems to be catching most
spam, however, one person's mail always seems to be
trapped. This person usually has to send zip files. Is
is possible force exchange to accept mail from this
person? Is the file attachment the issue?
You could add them to the safe senders list within the IMF filter.
> Have IMF installed on Exch 2k3. I know I can adjust the
> sensitivity of the filter. It seems to be catching most
> spam, however, one person...non exact match
=AND($A$1 = $A1,ROW()>1,$A$1<>"")
I am using the above formula for conditional formating. I need i
modified to work if whatever is in A1 appears anywhere within th
coloumn. Currentlly it only does exact match but i have multiple word
in each cell
Hope this is possible
Message posted from http://www.ExcelForum.com
I'm not sure how you're using the your current formula,
but you can use this:
>=AND($A$1 = $A1,ROW()>1,$A$1<>"")
...Non US Dollar accounts do not show in Settings for Active Sync
I am currently using Microsoft Money 2006 for both my desktop and my pocket
pc device. I am attempting to sync some of my accounts to my pocket pc
device. However, it seems that the options for Active Sync is only shows
acocunts that are using US Dollar as the currency. I would like to sync
accounts that are using Singapore dollars.
Any way I can do this?
No. You can only synchronize accounts which are in your base currency, which
appears to be US Dollars in your case.
Glyn Simpson, Microsoft MVP - Money
Check http://money.mvps.org/faq/default.aspx for ...installing a non-MS font into word
Operating System: Mac OS X 10.5 (Leopard)
I'm trying to download a free font called scriptina
It won't show up? I was able to get it to install into the text editor.
> I'm trying to download a free font called scriptina
> into word.
> It won't show up? I was able to get it to install into the text editor.
Install fonts in your ma...Migrating from MFC 7 to 8 (error C2440)
I'am migrating a project from MFC 7 to 8, and the compiler gives me the error:
....\MyCode.cpp(53) : error C2440: 'static_cast' : cannot convert from 'UINT
(__thiscall CMyDerivedCwndClass::* )(CPoint)' to 'LRESULT (__thiscall CWnd::*
Cast from base to derived requires dynamic_cast or static_cast
The error is in the message map:
ON_WM_NCHITTEST() //Here is the error!!!
I need the MFC 7 version too, so, the c...