Turning on ClearType for TextOut() ???
Apparently Microsoft has changed the rules for Windows 7.
ClearType font smoothing is set to on for the whole system,
and yet TextOut() is not using ClearType. How can I force
TextOut() to produce ClearType glyph rendering?
|
3/10/2010 11:30:49 PM
|
0
|
"Peter Olcott" <NoS...@OCR4Screen.com>
|
|
Deploying Application Upgrades over the internet
Hello everyone,
Let me try this again. My last effort fell into the bit bucket.
I am looking for information (reference material or recommendations or
guiding principles) realted to deploying upgrades for my application over the
internet via web services.
First, to be honest, I have not yet accessed a web service from inside any
MFC Client. I presume this will be relatively straight forward.
Assuming that I can issue a web service request, I envision a control on the
menu "Check for Updates Now".
When this control is selected the application would issue a web service
request
|
3/10/2010 6:29:01 PM
|
4
|
=?Utf-8?B?Q2FtZXJvbl9D?= <Camer...@discussions.microsoft.com>
|
Preventing memory and resource leaks with GDI Objects ???
I am have built a general purpose bitmap/image handling
class and want to add TextOut() capability to this class. To
do this I must convert some of my GDI local function
variables into GDI object member variables. This means that
I must be able to re-use several GDI objects, instead of
constructing them and destroying them after a single use.
What issues are raised with resource and memory leaks by
using CDC and CBitmap objects? How are these issues
mitigated?
|
3/10/2010 5:56:39 PM
|
8
|
"Peter Olcott" <NoS...@OCR4Screen.com>
|
Posting 60 messages per second to CView locks up UI (animation continues...)
Hi,
As recommended by Jerry and Scott in this newsgroups, I experimented with
CreateTimerQueueTimer and PostMessage(WM_APP_...) to drive animations in a
CView derived window. I have 2 types of animations: GDI based and Direct3D
based. I noticed that Direct3D based animations were really smooth when I
ran them at a frequency which was close to the adapter's refresh rate: 60hz.
I was quite pleased to see the smoothness of the animations and a very low
CPU usage (alternating between 3-4%).
Unfortunately the app's UI (e.g. closing/sizing/moving the frame, menus,
etc.) became
|
3/10/2010 4:47:51 PM
|
8
|
"dan" <...@nospam.com>
|
Socket connection error - 10061
Hi All.
I guess this a configuration issue, but maybe not...
I wrote a simple sockets client and server apps.
The server gets a request from the client, fulfills it and sends an
ack back to the client.
The problem is that this works only when the client and server are on
the same machine. When they are on seperate machines, the connect
function in the sever gets the 10061 error.
What can be the reason?
Both machines are without firewall.
Thanks!
|
3/10/2010 4:11:48 PM
|
1
|
dushkin <talt...@gmail.com>
|
[Q] CTabCtrl/CBitmapButton: custom color for the WHOLE background
Hello,
i read several articles on codeproject about owner drawn controls,
specifically for changing the background and text colors of MFC
controls. This works, except for CTabCtrls and CBitmapButtons.
CTabCtrl: i can change text/background for the entries (text) in the
tabctrl, and also for the tabs. But the frame around the whole thing
always has the same (system) color.
CBitmapButton: doesn't matter what i do (overwriting DrawItem(),
OnCtrlColor(), CtrlColor()), text/background always in the system
colors.
Can anyone give me a hint hwo this can be achieved?
Regards,
Chr
|
3/10/2010 3:09:02 PM
|
0
|
"Christoph Conrad" <spamcrunc...@digital-filestore.de>
|
VS2008 and AFX_DATA, AFX_DATA_MAP and AFX_DATA_INIT sections
Hello,
I started to use VS2008 on a project which has until now
beeing worked on using VS2003.NET.
The project has the known
//{{AFX_DATA(CSomeClass)
CString m_sSomeEditControl
//}}AFX_DATA
sections.
But if I add control or member variables to the dialogs using
the VS2008 resource editor those new variables are no longer placed
inside those AFX_DATA sections.
Is this a known behavior (I googled and found one post mentioning
that this is the case)?
Can I froce it to but it into the AFX_DATA sections?. I would like
to have all of the IDE generated variables in the sam
|
3/10/2010 11:10:19 AM
|
2
|
Oliver Regenfelder <oliver.regenfel...@gmx.at>
|
CArray of stdext::hash_map<int,int> not possible ( access violation ) ?
Hello,
I have problems using CArray<> with hash_map<>. What's wrong with the
following code ?
class A
{
A() {}
A( const A& ) {}
~A() {}
void operator=( const A& ) {}
stdext::hash_map<int,int> m_member;
};
....
A item;
CArray<A> test;
test.Add( item );
test.Add( item );
test.RemoveAll(); // access violation in hash_map<>
destructor ????????
The same code with std::map<> works ok. What is the problem ?.
Everything tested under VS.2005.
Thanks,
Adam
|
3/10/2010 10:23:15 AM
|
14
|
Adam <adam_m...@gazeta.pl>
|
get background brush
Hello everyone!!!! :))))
anyone could suggest me how I could get parent's background brush
whatever the parent window of the control is (a CPropertyPage, a
CDialog, a CWnd...)? Maybe a way to get defaults background brush from
windows theme because an user could change the current theme colors?..
Thanks a lot in advance
Ciao
Luigi
|
3/10/2010 6:54:27 AM
|
2
|
Luigino <npul...@rocketmail.com>
|
fatal error u1052 file ntwin32.mak not found
I'm trying to compile a library using instructions that may be out of
date. They call for the use of NMAKE, but that's generating an error
which stubbornly defies solution.
Is there another way to compile C++ source that doesn't use NMAKE --
what would be the recommendation.
There is a makefile.vc file.
I'm trying to compile the GEOS geographic library:
http://geodjango.org/docs/install.html#geosbuild
Installation instructions:
Win32
-----
If you use Microsoft Visual C++ (7.1 or later) compiler, you can
build
GEOS using NMAKE program and provided makefile.vc files.
|
3/10/2010 6:48:15 AM
|
1
|
Brian D <brianden...@gmail.com>
|
about changing dialog box property at run time
I am launching a dialog box from an application through a exported
function fro a dll.
I want to keep context help button (near top right corner near close
button) depending some input parameter i.e want to change property of
dialog box at run time.
How I can get this thing done?
|
3/10/2010 4:46:56 AM
|
1
|
rahul <hyrahu...@gmail.com>
|
loading updated DLL in application
Hello everyone!
I have a regular MFC DLL (with Use MFC in a Shared DLL), which
contains a component class, with a test_app (with Use MFC in a Shared
DLL too) in unique solution (.sln). In the test_app I settled
properties like:
- added reference search path in local DLL directory and DLL's debug
directory;
- added DLL directory in Additional Include Directories;
- added DLL's .lib in Additional Dependencies of Linker - Input
so in this way when I update DLL, in the test_app when I call DLL's
member variable and expand the list of methods, properties, events I
see all updates o
|
3/9/2010 4:32:17 PM
|
0
|
Luigino <npul...@rocketmail.com>
|
Ensure Directory is writable for All Users
Hello All,
I'm new to security issues, but my application has to make sure that a
specific directory is writable for all users.
How can I achieve this?
Here is the pseudo code of what I need:
if( directory is not writable for all users ) // No1
{
if( I have admin rights ) // No2
{
change permissions for directory // No3
}
else
{
Prompt the user to start this program as administrator
}
}
I don't know, how to do steps No1, No2 and No3.
TIA
--
Michael Reim
Michael DOT Reim AT helmut-fischer DOT de
|
3/9/2010 3:34:13 PM
|
4
|
"Michael Reim" <nospammichaelDOTr...@REMOVENOSPAMANDCAPShelmut-fischer.denospam>
|
CDC draw on a greyscale bitmap
We have to work with very large B/W bitmaps and to display them quickly
enough we create greyscale copies of this at lower resolution.
(greyscale lower resolution looks much better that B/W on screen)
What I really want to do is to create a greyscale bitmap of a particular
size and then draw on it using a CDC but I've not found a way to do this
yet.
The only way I've got is to use the following code but this always
creates bitmap with the colour depth of the screen - often way too much
resulting in unnecessarily large bitmap.
Any help will be much appreciated
CDC dcScr
|
3/9/2010 2:31:47 PM
|
1
|
phil oakleaf <n...@oakleafsoftware.co.uk>
|
Anti-piracy Tool
Hello,
We would like to release a 30-day trial
version of our software.
We have searched the web, and we have
found many anti-piracy applications.
Can anyone recommend a good "cheap"
(preferably free) anti-piracy application?
TIA
-jc
|
3/9/2010 12:36:01 AM
|
1
|
=?Utf-8?B?amM=?= <...@discussions.microsoft.com>
|
Bug in Grid Lines in CListCtrl Report View
Hi,
This thing is again annoying me!
whenever I display the grid lines using LVS_EX_GRIDLINES , there are
problems when scrolling the CListCtrl at once , the grid lines seem to loose
their position and thus generating a blurred view or sometimes just disappear
temporarily.
Have anyone else faced the same thing ?
Thanks
|
3/8/2010 6:14:01 PM
|
1
|
=?Utf-8?B?bmV4b2xpdGU=?= <nexol...@discussions.microsoft.com>
|
MapVirtualKey in different languages
Dear people,
I'm using MapVirtualKey to map virtual keys to actual
key codes. (How) is it possible to select the keyboard
layout, for example, having the function return a key code
90 ("z") for a "German" layout and 88 ("y") for an "English"
layout when the scan code is 21 in both cases?
TIA!
|
3/8/2010 1:14:05 PM
|
2
|
Frank <j...@gmx.de>
|
Text output and kerning?
A quick test has revealed that my MFC app is ignoring kerning pairs when
drawing text on its CView.
Delving into the help system, I can't (thus far) find any mention of
kerning.
Is there something I have to do with one or more of CFont, DrawText(),
TextOut(), ExtTextOut() in order for text to respect the kerning pairs
defined in a TrueType font?
Dave
--
David Webber
Mozart Music Software
http://www.mozart.co.uk
For discussion and support see
http://www.mozart.co.uk/mozartists/mailinglist.htm
|
3/8/2010 12:26:10 PM
|
11
|
"David Webber" <d...@musical-dot-demon-dot-co.uk>
|
Date/Time in different languages
Dear people,
I have a facility in my program to set the date and time format
according to the user's preferences. To do so, I run this command:
ShellExecute(NULL,_T("open"),_T("rundll32.exe"),
_T("shell32.dll Control_RunDLL timedate.cpl"),
NULL,SW_SHOW) ;
whichs presents a system dialog where the user can select anything
he needs. My problem: The dialog is always shown in the
operating system's language. But I'd like to show it in
other languages, too. Is this dialog available at all in other
languages? And if yes, how do I launch it?
TIA!
|
3/8/2010 11:44:49 AM
|
3
|
Frank <j...@gmx.de>
|
DrawText and measuring offset strings
Hello everyone,
I'm trying to draw a legenda on memDC like:
colour square : description | colour square : description |....
since I need to apply an offset, is there a function or something to
calculate the relative length of strings on graphic surface?...
I think a character correspond to certain dot pitch length multiplied
to n-chars of the string...
Thanks
Ciao
Luigi
|
3/8/2010 9:44:53 AM
|
3
|
Luigino <npul...@rocketmail.com>
|
Sandboxing an app
Is there a utility that runs a program, reports memory leaks?
|
3/8/2010 12:27:11 AM
|
1
|
ab` <...@absent.com>
|
What is the best way to drive (time) animations?
Hi,
I've been using WM_TIMER for 2d animations. That is, I'd set a timer to a
certain frequency and then move animation frames on timer messages. This
approach was simple and sufficient for me in the past.
I now need to animate 3D objects using Direct3D. I need more consistency
and probably a bit higher frame-per-second than the one provided by
WM_TIMER. Most of the non-mfc examples that I have seen use a combination
of performance counter and main message loop. Example:
for (;;) {
while (::PeekMessage(&(pState->m_msgCur), NULL, 0, 0, PM_REMOVE)){
::Transl
|
3/7/2010 5:27:46 PM
|
7
|
"dan" <...@nospam.com>
|
Start "Tablet PC Settings" from command line ?
Hi Experts:
On Windows 7, is there a way to start the control panel applet "Tablet PC
Settings" from command line (using rundll32)?
I tried line below but it only brings up the "Pen and Touch" applet.
rundll32 shell32.dll,Control_RunDLL tabletpc.cpl
Thanks in advance.
Polaris
|
3/7/2010 3:41:21 AM
|
7
|
"Polaris" <etpola...@hotmail.com>
|
proper way to close a socket?
I have a problem with CAsynsocket. I can connect to a remote socket. When I
want to close the connection, I just delete the socket object (which closes
the connection) and have no problems.
But if I've started to connect to a remote socket that doesn't exist (or
doesn't accept), and I delete the local socket object while waiting for the
connection, I sometimes get an assert in CAsyncSocket::DoCallBack(). See
below. Actually, it's not in the middle of an Accept call because I test
with an address and port that I know doesn't exist.
Any idea how I should be doing this so as not
|
3/7/2010 2:46:11 AM
|
5
|
"Bill Brehm" <don't want spam>
|
typedef struct RTTI/Reflection
Is it possible in MFC to wrap a C typedef struct with a class so I can
programmatically access the struct member name and type information?
I guess the question is if I can do this via serialization.
I was able to do this in .NET with reflection library, but I would
like to do this in non-.NET C/C++.
--
HLS
|
3/6/2010 10:49:17 PM
|
10
|
Hector Santos <sant9...@nospam.gmail.com>
|
MDI CView and some kind of bar at bottom of CView
Hi,
I have created a MDI project with CView's using VS2008Pro.
I want to have some sort of bar at the bottom of every CView where i
can put controls on, like buttons. I dont know how this bar is called
and how to create one for every CView.
I have a picture of it here to explain what i want.
http://www.4shared.com/dir/32975742/b4bac91c/CView_Bar.html
Could someone please tell me what kind of bar this would be and how to
create it for CViews?
Thanks.
|
3/6/2010 4:57:26 PM
|
6
|
RAN <nijenh...@wish.nl>
|
Windows Installer
Hello,
For the first-time, I am trying to build an installation program using VS.
In the past, I always used Installshield. The problem I am having , is
the application icons are displayed correctly on the desktop and on the
program menu. Howevet, when the icons are clicked the application does not
start, but displays the content of the Application folder.
How do I get the icons to start the application, and not display the content
of the Application folder?
TIA,
-jc
|
3/5/2010 4:01:01 PM
|
1
|
=?Utf-8?B?amM=?= <...@discussions.microsoft.com>
|
Truncate a LPCTSTR
Hello everyone,
I'm trying to truncate with a certain LPCTSTR string to n position and
get another LPCTSTR variable truncated by that n position....
Is it possible? Any hint?...
Thanks
Ciao
Luigi
|
3/5/2010 3:48:00 PM
|
3
|
Luigino <npul...@rocketmail.com>
|
Truncate a LPCTSTR
Hello everyone,
I'm trying to truncate with a certain LPCTSTR string to n position and
get another LPCTSTR variable truncated by that n position....
Is it possible? Any hint?...
Thanks
Ciao
Luigi
|
3/5/2010 3:42:53 PM
|
3
|
Luigino <npul...@rocketmail.com>
|
PostMessage in OnInitDialog()
Hi All,
I have code like this:
------------------------------------------------------------------------------
..h file:
class CMyDialog : public CDialog
{
CShockwaveFlashActivexControl m_SWFlashMovie;
// other members
}
..cpp file:
BOOL CMyDialog::OnInitDialog()
{
CDialog::OnInitDialog();
// There are five controls. Below three lines shift the focus to
second control.
PostMessage(WM_KEYDOWN, (WPARAM)VK_TAB);
PostMessage(WM_KEYDOWN, (WPARAM)VK_TAB);
PostMessage(WM_KEYDOWN, (WPARAM)VK_TAB);
return TRUE;
}
---------------------------------------------------
|
3/5/2010 1:14:03 PM
|
1
|
sw developer <precise.sw.develo...@gmail.com>
|
OnClose() in CPropertySheet
Hi,
I have a Wizard application created from CPropertySheet. In the Wizard
property sheet, I override the OnClose() handler (and have ON_WM_CLOSE() in
the message map) but the handler does not get called. I want it to be called
when the user either cancels the wizard or closes it with the (x) button.
Not sure what could be going wrong.
TIA,
JY
|
3/5/2010 1:05:01 PM
|
1
|
=?Utf-8?B?Slk=?= <...@nospamgroup.com>
|
unique number for a system
Hi,
I want to fetch a unique ID for a system so for that I want to get the
following:
1.OS Serial Number
2.CPU Serial Number
or any other way to generate a unique ID for a system?
Please help me..
Thanks
|
3/5/2010 11:56:02 AM
|
4
|
=?Utf-8?B?bmV4b2xpdGU=?= <nexol...@discussions.microsoft.com>
|
A little question
Using secured version of 'strcpy()' I need to use 'strcpy_s()' version
and there lies my problem. In my function I need to copy the result in
a char type which is passed to function. I pass a 'char addr[256]' but
on my final step function:
'strcpy_s(addr, sizeof(addr), result)'
the sizeof operator returns '4' and function chrases. The value of
result is lets say an IP address (11 characters). What can I use
instead 'sizeof' operater. I cant just use 256 because I use
'myfunction' in few places and passing different kind of char arrays.
Sorry for english and thanks in advance
|
3/5/2010 9:32:03 AM
|
6
|
nani <cagalj.jo...@gmail.com>
|
excel automation excel8.h/cpp
have been using excel automation for several years without any problems
and use the excel8.h and excel8.cpp files that were generated by Visual
C++ ages ago (probably with Excel 97). Everything works except that
these files have nothing in them about AddIns
(Maybe addins only added as a feature after Excel 97)
I've tried regenerating these wrapper classes using Visual Studio 2005
but it wants to create separate classes which is fine except I cant get
them to work
each generated class has the following line
#import "C:\\Program Files (x86)\\Microsoft Office\\OFFICE11\\EXCEL.
|
3/4/2010 11:58:56 PM
|
1
|
phil oakleaf <n...@oakleafsoftware.co.uk>
|
VS 2010 is cheaper
A while ago, we were bemoaning the loss of VS 2010 Standard, and the price
of VS 2008 Professional (presumably with a free upgrade to 2010) was
something like $1500 USD.
Now there are new VS 2010 prices.
http://www.eweek.com/c/a/Application-Development/Microsoft-Offers-Deals-for-Visual-Studio-2010-Retail-Customers-550413/
Basically if you have VS 2005/2008 Standard, you can get VS2010 Standard for
$299. And even if you are totally new to VS, you can get VS2010
Professional for $799 and upgrade for $549. And Professional now comes with
MSDN Essentials. So the prices are muc
|
3/4/2010 6:45:59 PM
|
42
|
"David Ching" <...@remove-this.dcsoft.com>
|
neubau finanzierung , euro hypothek , darlehen eigenheim , bei immobilienkredit , kinderzulage bei eigenheimzulage , baufinanzierung 3 , kredite zum hauskauf ,
neubau finanzierung , euro hypothek , darlehen eigenheim , bei
immobilienkredit , kinderzulage bei eigenheimzulage , baufinanzierung
3 , kredite zum hauskauf ,
+
+
+++ GUENSTIGE KREDITE ONLINE +++ KREDITE IM INTERNET OHNE SCHUFA
IMMOBILIEN +++
+
http://WWW.IMMOBILIEN-KREDIT-ONLINE.NL
http://WWW.IMMOBILIEN-KREDIT-ONLINE.NL
http://WWW.IMMOBILIEN-KREDIT-ONLINE.NL
http://WWW.IMMOBILIEN-KREDIT-ONLINE.NL
http://WWW.IMMOBILIEN-KREDIT-ONLINE.NL
http://WWW.IMMOBILIEN-KREDIT-ONLINE.NL
http://WWW.IMMOBILIEN-KREDIT-ONLINE.NL
http://WWW.IMMOBILIEN-KREDIT-ONLINE.NL
http://WWW.IMMOBILIEN-KR
|
3/3/2010 11:43:03 PM
|
0
|
kathrin mayer <kmkama...@googlemail.com>
|
Converting a 24-bit bitmap (with 256 unique colors) to an 8-bit bitmap without changing the colors???
I carefully constructed a 24-bit bitmap to have exactly 256
unique colors.
I converted this bitmap to use an optimized 8-bit palette
retaining the exact same 256 colors using an image editor.
I compared all of these images to the original using the
BeyondCompare diff tool, they all has identical pixels.
CImage image;
image.Load("256colors.bmp"); // 24-bit
image.Save("test.gif");
The colors now have been changed by several shades.
To fix this I have to create my own color index table
precisely defining the colors that I want to use, and then
copy the original file to the
|
3/3/2010 10:06:21 PM
|
5
|
"Peter Olcott" <NoS...@OCR4Screen.com>
|
Square shaped balloon tips.
Hi,
Please suggest me what I can do to display square shaped balloon tips and
with controls in them.
Thanks.
|
3/3/2010 2:15:01 PM
|
7
|
=?Utf-8?B?bmV4b2xpdGU=?= <nexol...@discussions.microsoft.com>
|
A question of dynamically moving controls (Drag and Drop)
Hello again folks,
I am having a little issue with this and would appreciate any thoughts.
I have an application where I have a number of button controls that the User
can drag and drop around the screen.
This works fine.
The dropped positions are saved in the registry and when the User opens the
application again later, the controls are where ever they moved them to. And
this al;so appears to work fine.
However, I noticed that when I run on a smaller physical screen, and the
display scrolls I have an issue.
This is difficult for me to explain, but, say the actual display is twic
|
3/3/2010 1:53:02 PM
|
4
|
=?Utf-8?B?Q2FtZXJvbl9D?= <Camer...@discussions.microsoft.com>
|
Sorted vector
Hello everyone....
I have a vector of POINT:
typedef vector<POINT> vectPoints;
I'd like to have an ordered array of this vector so I can remove and
insert "sources of POINT" in ordered way... so I thought about sets...
It is possible to have something like:
typedef set<int, vectPoints> array_of_POINTS
so I could have that int as order key?...
If yes, how I could "insert" since doing
array_of_POINTS afP;
vectPoints vp;
....
afP.insert(idxorder, vp);
doesn't work?...
thanks to all!
Ciao
Luigi
|
3/3/2010 11:50:01 AM
|
11
|
Luigino <npul...@rocketmail.com>
|
GetDIBits() from GDI+ Bitmap ???
Does anyone know how to do this?
|
3/3/2010 3:21:28 AM
|
2
|
"Peter Olcott" <NoS...@OCR4Screen.com>
|
Testing for memory leaks
Is there a (portable) app runs another app, and reports leaks?
|
3/3/2010 12:28:57 AM
|
4
|
ab` <...@absent.com>
|
Confused about IsWindowVisible versus GetStyle() & WS_VISIBLE
I'm confused (duh). I thought ::IsWindowVisible() returned true/false
based on the window's style. So I'd think bA and bB in the following
statements would be the same:
HWND hWndTab = NULL;
CMFCBaseTabCtrl* pParent = m_pPane->GetParentTabWnd(hWndTab);
BOOL bA = ::IsWindowVisible( pParent->m_hWnd);
BOOL bB = (pParent->GetStyle() & WS_VISIBLE) != 0;
But they're not. (FWIW, I'm trying to debug a a problem where a
CDockablePane doesn't appear when it seems like it should. I
frequently see bA being 0 while bB is 1.)
Thanks for the help!
|
3/2/2010 10:09:03 PM
|
1
|
Steve Achelis <i...@RescueRigger.com>
|
Forcing an optimized pallette when converting a 24-bit bitmap to 8-bit using GDI+
I want to save 24-bit BMP images as 8-bit PNG files, where
the number of unique colors <= 256. I don't want windows to
automatically screw up the colors and use its own
selections. I want to keep the original unique 256 colors,
exactly as they are in the original.
How do I force windows to not screw up the colors? Why
isn't NOT screwing up the colors the default?
|
3/2/2010 9:42:31 PM
|
8
|
"Peter Olcott" <NoS...@OCR4Screen.com>
|
Now it is the linker... vc 9.0
At one point everything was fine. I even used Instyler SmartSetup to
deploy a patch with the 9.0 build to my wife's computer.
This morning I started having linker/dll problems. In case someone else
runs into a 'mfc90d.dll not found' problem, I found this but don't know
why yet or if it is right:
<http://origin-software.intel.com/en-us/forums/showthread.php?t=70983>
"I have solved this problem under the properties page Manifest Tool >>
Input and Output >> Embed Manifest the value should be no when this is
checked my code runs fine on Windows XP"
I set this switch in the zl
|
3/2/2010 8:29:23 PM
|
1
|
DanB <...@some.net>
|
CHtmlView zoom in/out images
I am using CHtmlView.Navigate2 to to use the web viewer features inside of my
application. This way I can have a simple viewer.
This it is working but some browser features are not available, for example
I want zoom in/out images.
Directly in browser this works well but when from my application show the
image but it is not possible zoom in/out the image.
It is possible enable these features?
Thanks & Regards,
Rui
|
3/2/2010 6:48:01 PM
|
0
|
=?Utf-8?B?UnVpIE9saXZlaXJh?= <RuiOlive...@discussions.microsoft.com>
|
MFC apps and multi video adapters
Hi,
Can an mfc app be programmatically 'instructed' to use a specific video
adapter? As far as I know I could use EnumDisplayMonitors(),
GetMonitorInfo(), and CreateDC() to get a DC for a specific monitor. So, if
I pass a given's monitor name which is attached to one of the video adapters
I should be able to create a DC for that adapter. Is my assumption correct?
If that works (i.e. creating a DC) then how would I associate it with mfc?
Any other way to run an mfc app on a given video adapter?
Thanks,
Bogdan
|
3/2/2010 2:04:46 PM
|
1
|
"bogdan" <bog...@nocompany.com>
|
Setting the ColorDepth EncoderParameter to GDI+ Image::Save() ???
Setting the ColorDepth EncoderParameter to GDI+
Image::Save()
Status Save(
const WCHAR *filename, const CLSID *clsidEncoder,
const EncoderParameters *encoderParams
);
The only examples that I could find were incorrect examples
asking for correction and receiving none.
|
3/2/2010 2:14:48 AM
|
12
|
"Peter Olcott" <NoS...@OCR4Screen.com>
|
automation Excel running macro in XLA
I have linked up the Automation code and can run an Excel macro from MFC
- works really well
What I'd like to do is put all my VBA code into an Excel XLA so that
I'll always have the required macros available.
But now when I try to run the macro it complains that it cant find it.
Is there a special syntax for executing "Application.Run(...)" macros
within an XLA - (is it even possible)
Any help will be much appreciated
|
3/1/2010 11:08:48 PM
|
4
|
phil oakleaf <n...@oakleafsoftware.co.uk>
|
Incorrect control background colors on CTabCtrl
We're moving an MFC project from VS6 to VS2008. In the process we've
encountered a cosmetic bug wherein controls (statics, radios,
checkboxes, etc) that appear on a CTabCtrl within a dialog don't have
the same background color as the CTabCtrl. The CTabCtrl has a lighter
background than the dialog's background (which is okay) and the
controls' backgrounds (which isn't okay).
There are LOTS of posts about the background color of CTabCtrls on the
web (not necessary dealing with VS2008, but often with XP themes).
This page (written in 2004) http://www.codeproject.com/KB/wtl/ThemedDialog.
|
3/1/2010 10:44:31 PM
|
5
|
Steve Achelis <i...@RescueRigger.com>
|
Using GDI+ from MFC C++ ???
All of the links that I have found say they are showing you
how to use GDI+ from C++, by they actually show you how to
use GDI+ from C, not C++. For example they show you how to
modify the WinMain() function. There is no WinMain()
function in my MFC code.
I want to be able to load and save PNG files and BMP files.
Since Windows now does this, I would prefer to use Windows
instead of any third party library.
|
3/1/2010 9:06:39 PM
|
23
|
"Peter Olcott" <NoS...@OCR4Screen.com>
|
How to run MultiDigiMon.exe ?
Hi Experts:
Any one knows how to start MultiDigiMon.exe?
Thanks
Michael
|
3/1/2010 8:14:35 PM
|
0
|
"Polaris" <etpola...@hotmail.com>
|
Good Library for reading and writing PNG files?
I need a good Library for reading and writing PNG files.
Which one are the best?
|
3/1/2010 7:31:19 PM
|
3
|
"Peter Olcott" <NoS...@OCR4Screen.com>
|
MDI GUI
Hi,
I have created (generated) a MDI project with tabbed documents with
VS2008 Pro.
Visual Studio generates an application with the File/Class view
window, properties window, output window and the first MDI document/
view.
I want to control the sides on which the windows dock. I thought this
was done in BOOL CMainFrame::CreateDockingWindows() , i changed the
CBRS_TOP to CBRS_BOTTOM and CBRS_RIGHT to CBRS_LEFT , but the windows
still come out the same in the client area. It makes no difference
what is use for a window style attribute of CBRS_xxxx. Where and how
can i control wher
|
3/1/2010 7:25:02 PM
|
2
|
RAN <nijenh...@wish.nl>
|
Printing to multiple pages (horizontally)
Hi all,
We have a module that uses custom printing code (no CView involved, just
drawing to a custom allocated device context) to print out tabular data
(numbers, text, borders) one or more pages. If there are too many lines
the table will just be continued on the next page.
Problem: We need to split the table to multiple pages horizontally, that
is if the columns don't fit on one page width, we would like for the
printed out report to use a "width" of two pages (or more).
Since my experience with either printing in Windows C++ and device
contexts in general is very limite
|
3/1/2010 5:09:22 PM
|
2
|
"Martin B." <0xCDCDC...@gmx.at>
|
Clear CWnd Child with png
Hi,
I want to overdraw an Image on a CWnd Object with a second Image including
transparent parts.
But I can see the first Image through the second Image.
I can't use fillRect because I I want to see the Background of the CWnd
Object behind it.
Is it possible to clear the CWnd so that I have a "transparent" Background
as it is on creation?
I am using two CImage Objects and two png Images
On Mousemove I change the CImage Pointer mp_ActiveBook to the second CImage
Object and onMouseleave I switch the pointer again and call OnPaint
void CLitBoardItem::OnPaint()
{
|
3/1/2010 1:16:34 PM
|
7
|
"Manuel Hoeger" <Manuel.Hoe...@physik.stud.uni-erlangen.de>
|
Automation - any size limitations of VARIANT
I want to use Automation to send a fairly large XML string to an Excel
Macro using
VARIANT _Application::Run(const VARIANT& Macro, const VARIANT& Arg1,
const VARIANT& Arg2,....const VARIANT& Arg30);
I would like to send up to 2 to 3mb as an XML string - does anyone know
if this will be OK - before I spend too much time trying to implement it
Many thanks for any replies
|
2/28/2010 3:08:39 PM
|
4
|
phil oakleaf <n...@oakleafsoftware.co.uk>
|
VS 2008
Well I finally bought the new 2008 VS. I'm moving carefully over as I
have to keep a 7.1 build current. I'm moving my support first as I don't
have to keep it updated. I started with that hexml project.
When I get to this as a copy constructor:
XMLNODESET::XMLNODESET( XMLNODESET& inSet )
{
*this= inSet;
}
dec:
class HE_XML_EXT_CLASS XMLNODESET
{
private:
std::vector<TiXmlNode*> set;
....
};
The pointer to the vector is copied now where as in 7.1 it would do a
deep copy of the vector.
This can't be right, is this a known issue? And I'm not sure how to fix
it
|
2/26/2010 10:44:45 PM
|
23
|
DanB <...@some.net>
|
Excel automation to an already open XLS
I am using Automation to push data across to Excel and this works fine
if the Book is closed - I just open it and use it
However, I also need to get hold of the book if it is already open.
Can anyone provide an example of how to do this given just the name of
the open XLS file.
Any help will be much appreciated
Thanks
Phil
|
2/26/2010 8:41:28 PM
|
4
|
phil oakleaf <n...@oakleafsoftware.co.uk>
|
Sleeping...
Hi All
I have the following problem:
1. I built a DLL which have a for loop. The loop needs to "sleep" X
mseconds between each ietration. Also, the DLL has a dialog and
obviously its exported functions are being used by the client and
their input must be processed.
So I used Win32 Sleep(x) to put the loop to sleep but it of course
caused the whole main process to sleep, hence to the dialog to be
"stucked" and to the rest of the messages to be blocked until the
Sleep completed.
2. So I found XSleep function on the web which in essence implements
the sleep on another thread.
|
2/25/2010 12:50:42 PM
|
5
|
dushkin <talt...@gmail.com>
|
Interesting CreateEvent issue
I've been struggling with an odd/even WaitForMultipleObjects() issue. I
defined an array of HANDLEs and used CreateEvent() to create just two
events for two different threads. The ZERO event is the shutdown event and
the ONE event starts an action by the thread. The issue that I've been
chasing is that the threads seemed to respond only to every other
SetEvent().
What I found ( and what solved the issue ) was that I had given the events
for both threads the same name! In both cases I had named event zero
"ShutDown" and event one "StartCycle".
MyEvent[0] = CreateEvent(NULL,
|
2/24/2010 11:33:49 AM
|
2
|
"Ron H" <rnha...@nospam.net>
|
Create non-elevated process from elevated process,...?
Hi,
i am looking for some way to execute some application
of my chioce from an elevated process. This is )for
sure) no problem, but the problem is that i want to
execute the newly spawned process as a non elevated
process without the elevated token rights of the same user.
I already tried this by using this, but it is not a realiable solution
since it depends on a running shell/explorer process.
http://blogs.msdn.com/aaron_margosis/archive/2009/06/06/faq-how-do-i-start-a-program-as-the-desktop-user-from-an-elevated-app.aspx
Does someone have a good idea, possibly not
something
|
2/24/2010 8:42:06 AM
|
15
|
=?iso-8859-1?B?S2VyZW0gR/xtcvxrY/w=?= <kareem...@hotmail.com>
|
cannot execute C preprocessor cl.exe
Hello,
I got the following compiler error:
command line error MIDL1004 : cannot execute C preprocessor cl.exe midl
Output:
20>Creating Type Library...
20>Processing .\UnitConverter.idl
20>midl : command line error MIDL1004 : cannot execute C preprocessor cl.exe
20>Build log was saved at
"file://v:\MysolutionFoler\MyProjectFoler\DebugU\BuildLog.htm"
20>UnitConverter - 1 error(s), 0 warning(s)
When I Open VS2005 command prompt and run the commmands in BuildLog.htm file
the all work fine. But why I got the compiler error when build by VS IDE?
Please tell me if you have any
|
2/23/2010 9:20:01 PM
|
0
|
=?Utf-8?B?SGFpcGluZw==?= <Haip...@discussions.microsoft.com>
|
cannot execute C preprocessor cl.exe
Hello,
I got the following compiler error:
command line error MIDL1004 : cannot execute C preprocessor cl.exe midl
Output:
20>Creating Type Library...
20>Processing .\UnitConverter.idl
20>midl : command line error MIDL1004 : cannot execute C preprocessor cl.exe
20>Build log was saved at
"file://v:\MysolutionFoler\MyProjectFoler\DebugU\BuildLog.htm"
20>UnitConverter - 1 error(s), 0 warning(s)
When I Open VS2005 command prompt and run the commmands in BuildLog.htm file
the all work fine. But why I got the compiler error when build by VS IDE?
Please tell me if you have any
|
2/23/2010 8:32:02 PM
|
0
|
=?Utf-8?B?SGFpcGluZw==?= <Haip...@discussions.microsoft.com>
|
need unicode help
Hello, Joe was nice enough to educate me of a void in my awareness of
unicode ramifications. I am in the process of trying to install the safer
strsafe libs and includes. But more pertinent to me is the problem is I am still
struggling to get underneath all aspects of this.
I remember reading years ago (when computers usually had less than
20mb of ram) that a machine word was the width of the computer registers,
usually matching the width of memory at a single address. I.e. address whatever
would be say 2 bytes long in real mode or 4 bytes long in protected mode. And
that ints co
|
2/23/2010 4:09:32 PM
|
13
|
"RB" <NoM...@NoSpam>
|
question about mfc42.dll
Hi,
I've been using msvc6 for a year now, and I prefer it over any other
IDE for Windows development.
However, I've never had to deal with MFC. I decided to make msvc6 have
an 'xp style'. At first, I tried by including a manifest file in it's
resource section. That seemed to work only for some controls, but all
of them, most controls were still unchanged. Then I applied an inline
patch to call InitCommonControls, but that had no effect either. While
seeing the unchanged controls' properties in Spy++, I noticed they
didn't have normal window class names. I believe those classes were
i
|
2/23/2010 4:01:02 PM
|
6
|
X-N2O <ledio...@gmail.com>
|
CPropertySheet default border
Hi,
I have a PropertySheet in Wizard mode and add some property pages to it. The
property sheet adds a default border outside the page (which appears gray in
color). Is there a way to prevent the border from being displayed ? But I
would need this not being displayed only in one page, and not the others.
TIA,
JY
|
2/23/2010 9:26:01 AM
|
2
|
=?Utf-8?B?Slk=?= <...@nospamgroup.com>
|
fprintf (stderr statement is crasing
Hi,
I converted code from vc6 to vc9, on vc6 environment the below
statement is working fine
fprintf (stderr, "Failed FormatMessage - MessageIndex = <%d>.\n", 0);
but when I run this on vc9(visual studio 2008)
an exception is thrown,How to handle the exception is the issue.
The exception condition will occur definitely but handling that is
what I need.In vc6 same code is working fine.
Any one please Help it is very urgent to solve the exception.
|
2/23/2010 9:25:21 AM
|
19
|
RaG <b.raghaven...@gmail.com>
|
SDK QUESTION
I ordered the last version of the platform SDK that will work with my
compiler version. The following note was given on the order:
>Support for VC 6.0 has ended. But this particular version SDK will work with
>VC 6.0 (the February 2003 Edition), but Side by side installations are not supported.
I'm wondering exactly what logistics I need to plan on when I install this.
I don't have any other platform SDK's installed but what about my Libs and Includes
(and the courtesy msdn CD) that came with my VC Setup ? Will it just be a matter of
changing the include and lib file directories in
|
2/23/2010 4:57:23 AM
|
13
|
"RB" <NoM...@NoSpam>
|
What is the fastest sustainable web service response time?
Is it possible for a very fast web service to consistently
provide an average 500 millisecond response time?
Is the internet itself too slow making this goal completely
infeasible using current technology?
|
2/23/2010 4:31:15 AM
|
33
|
"Peter Olcott" <NoS...@OCR4Screen.com>
|
Cannot execute C preprocessor cl.exe
Hello,
When I compile my C++ application in VS 2005 I got the follwoing compiler
error:
command line error MIDL1004 : cannot execute C preprocessor cl.exe midl
In the putput:
20>Creating Type Library...
20>Processing .\UnitConverter.idl
20>midl : command line error MIDL1004 : cannot execute C preprocessor cl.exe
20>Build log was saved at
"file://v:\MyApplication\MyProject\DebugU\BuildLog.htm"
20>UnitConverter - 1 error(s), 0 warning(s)
But when I go to DebugU\BuildLog.htm following the instruction in
BuldLob.htm and fun the cl.exe in VS command Prompt it works without any
|
2/22/2010 6:18:01 PM
|
2
|
=?Utf-8?B?SGFpcGluZw==?= <Haip...@discussions.microsoft.com>
|
BitBlt SRCAND and PDF
I am using BitBlt with SRCAND and everything works perfectly on screen
and the normal printers.
But, when I print to a PDF driver the SRCAND flag seems to be ignored so
the result is wrong.
(I have read elsewhere that PDF does not handle SRCAND)
Does anyone have any ideas how to handle this?
Many thanks
Phil
|
2/22/2010 12:46:20 PM
|
6
|
phil oakleaf <n...@oakleafsoftware.co.uk>
|
How To maintain ListControl Values
Hi,
I had ListControl,its contains looks like " Index IPAddress ID Pwd"
fields .
I want to edit the box and give the input to those editbox values at
the run time.After that if user click close the Listcontrol dialog
application those values, will maintain the listcontrol.How to
maintain the listcontrol values.
In the OnInitDialog() function i called:
m_lstCtrl.SetExtendedStyle(m_lstCtrl.GetExtendedStyle()|
LVS_EX_GRIDLINES|LVS_EX_FULLROWSELECT);
I set the properties in the ListControl Appearance EditLabels i set
TRUE View i set REPORT and then Single Selection I set T
|
2/22/2010 4:40:27 AM
|
1
|
muthukkumaran <arumu...@gmail.com>
|
Need critical input on this
I have created the below code that actually works and compiles with
zero errors and zero warnings. I would like criticism and input on
it from all angles, First off is there a better way to do this. Does
my code have problems etc. (granted I have left some error checking
out to keep it brief)
This all started when I wanted to change the font type and size in my
FormView Listbox. I always try to keep everything within MFC since I
want to concentrate on my stuff and not windows stuff. But everywhere
I looked on the net for changing a font in a resource control had stuff
setting the O
|
2/22/2010 12:37:13 AM
|
11
|
"RB" <NoM...@NoSpam>
|
Multiple subitem selection
Hi,
I am looking for some CListCtrl derived class which supports
multiple subitem selections.
I need to select groups of cells similarly as in Excel application.
I found and tried several well-known samples from codeproject, but no of
them has this feature.
Does anybody know some sample which provides this feature ?
I need it only for selecting logon hours in week in table where rows are
days and columns are hours. I need no other features, but only multiple cells
selection.
Thanks for any tips !
Peter
|
2/21/2010 3:20:01 PM
|
2
|
=?Utf-8?B?UGV0ZXI=?= <Pe...@discussions.microsoft.com>
|
multiple core programming in win32
Hello
I'm glad to announce you the set up
of a new site www.mucore.com
I propose a light weight library for multi core programming.
Gimme you feedback.
RV
|
2/20/2010 3:44:42 PM
|
4
|
flamenco <imco...@imresize.gmail>
|
marvendas@gmail.com Kit completo de Solenoides ( solenoid ) + chicote Para Cambio automatico 01M hidramatico Audi A3 Vw Golf gti turbo 22884
Contato: marvendas@gmail.com
marvendas @ gmail.com
marvendas no gmail.com
Kit completo de solenoides para Volkswagem e Audi.
O kit contem:
5 solenoides
2 Epc ( solenoides de pressao )
1 Chicote
Serve para qualquer modelo VW ou Audi fabricados de 1995 ate hoje com o cambio automatico de 4 marchas � 01M
Pre�o: R$ 1900.00
Temos outras tipos de solenoides e artigos importados, nao deixe de fazer uma consulta antes de comprar!
Audi a3 automatico
Audi a3 1.8 t automatico
Audi a3 1.8 turbo automatico
VW Golf gti automatico
VW Golf 2.0 automatico
VW Golf 1.8 turbo auto
|
2/20/2010 3:27:38 AM
|
0
|
kit solenoites audi solenoid.chicote<kit.solenoites.a...@solenoid.chicote.com>
|
need some class help
I have noticed some things (for sometime now) that I did not run across when I first
read about C++ nor do I think I really understand them. Could someone please
explain the differences (or definitions ) of these. Would really appreciate this.
What is a SuperClass (is this like a base class ? )
What is a SubClass (is this like a derived class ?
What is a nested class ( is this what I used to know as Composition of a class ? )
And exactly what is being compiled when (in the VStudio Class wizard ) when I
create a resource control variable of category "Control" and of type "DerivedCl
|
2/20/2010 3:08:00 AM
|
7
|
"RB" <NoM...@NoSpam>
|
MVP Award...
From an email received last week, from Amit Mohindra, of the VC++ team:
====================================
There are roughly 10 million developers in the world. There are less than 2,000 Microsoft
developer MVPs.
To say that Microsoft MVPs are cut above "normal" developers in terms of technical
excellence and willingness to help the community doesn�t begin to quantify the work that
you and your peers do!
Of those 2,000 MVPs, 20 have been selected as the strongest contributors by the Product
groups for their outstanding contributions - and you have been named as one of those
|
2/19/2010 9:24:50 PM
|
66
|
Joseph M. Newcomer <newco...@flounder.com>
|
how to store the listcontrol values into file
Hi to all,
How to store all the listcontrol data's into file. if data is there i
want to edit from the listcontrol.It is possible to do that.Pls anyone
help me i am struggling for using listcontrol.
Regards,
Muthu
|
2/19/2010 12:20:40 PM
|
1
|
muthukkumaran <arumu...@gmail.com>
|
Toolbar keyboard navigation
Hi,
most Microsoft applications (e.g. Office 2003, Visual Studio 2008) allow to
navigate through the toolbars using the keyboard: This can be done by hitting
and releasing the ALT key, which sets the focus to the first menu item.
CTRL-TAB then moves the focus to the first toolbar, which can be navigated
using the cursor keys and enter.
I was told that this is often used by visually impaired users.
Unfortunately, standard MFC applications (at least Visual Studio 2008
Feature Pack App-Wizard generated applications) do not offer this
functionality. What do I need to do to add thi
|
2/19/2010 8:15:01 AM
|
0
|
=?Utf-8?B?SG9sZ2Vy?= <Hol...@discussions.microsoft.com>
|
CWnd derived parent, owner draw reflection does not work
Hello,
I have a following scenario to handle:
A CWnd derived class is a parent window for a number of child
controls. One of those controls is a descendant of CStatic.
The child control (CStatic derived) is created dynamically with
SS_OWNERDRAW style set and handles ON_WM_DRAWITEM_REFLECT.
The problem is that DrawItem of the child control is never called. I
also set break point in CWnd::OnDrawItem to see if it called at all
and I found out that it is not.
On the other hand if I put the control on CDialog everything works as
expected. I begin to think that bare CWnd does not fully h
|
2/19/2010 5:02:58 AM
|
3
|
wxdeveloper <wxdevelo...@gmail.com>
|
CMenu class and menu object
Hi,
I'm creating a submenu for a popup menu in a different function (see
the code below), and the menu object (CMenu) for that submenu is a
local variable, so it is getting created on the stack that is not
valid after function returns.
Is it safe to use the popup menu that contains submenu showe CMenu
object is destroyed ?
This doesn't crash, visually it works find, but seems like it is not
safe to leave it like this.
There is a suggestion to Detach before returning from AddSubMenu()
function. Is that enough ?
Will the whole popup menu be successfully destroyed after we return
fr
|
2/18/2010 11:26:53 PM
|
2
|
"C++8x" <expert....@gmail.com>
|
type question
Hello, I am a non professional programmer that writes stuff for my work as a
Civil Engineering Cad drafter. So please excuse inexperience. My question is,
I'm currently working with a struct that has an unsigned int declared in the
WINUSER.H file as
typedef struct tagDRAWITEMSTRUCT {
UINT CtlType;
UINT CtlID;
UINT itemID; //<- this guy here
UINT itemAction;
UINT itemState;
HWND hwndItem;
HDC hDC;
RECT rcItem;
DWORD itemData;
} DRAWITEMSTRUCT;
But in the docs for this structure it is said that for an empty list box this me
|
2/18/2010 4:46:53 PM
|
21
|
"RB" <NoM...@NoSpam>
|
Love Potion for Miss Blandish
yada yada hi darmasya,
glanil,bavati bharata,
agydanam adarmasya,
kridadmanam padarmasya,
|
2/18/2010 4:44:44 PM
|
0
|
kamraj...@rocketmail.com (The God of Love)
|
Combine list view with a tab ctrl
Hi
Sorry if this is a very basic question.
I would like to create a window with a CListView (in report mode) and
above the listview's header a CTabCtrl.
The only way I know to do it is to use a splitter and embed the
CTabCtrl in a CFormView.
The trouble is - the window looks very ugly, and space is wasted as
the CFormView seems to require a minimum amount of empty space around
the tab ctrl. Is there a trick for creating such windows?
thanks,
Neil
|
2/18/2010 9:52:47 AM
|
0
|
neilsolent <...@solenttechnology.co.uk>
|
Combine list view with a tab ctrl
Hi
Sorry if this is a very basic question.
I would like to create a window with a CListView (in report mode) and
above the listview's header a CTabCtrl.
The only way I know to do it is to use a splitter and embed the
CTabCtrl in a CFormView.
The trouble is - the window looks very ugly, and space is wasted as
the CFormView seems to require a minimum amount of empty space around
the tab ctrl. Is there a trick for creating such windows?
thanks,
Neil
|
2/18/2010 9:05:51 AM
|
8
|
neilsolent <...@solenttechnology.co.uk>
|
DDX contol type question
Greatly appreciate anyone showing me what I'm missing here.
My ViewClass holds my resource editor ListBox and is the parent class.
DerivedClass (from CListBox base class) holds my owner draw DrawItem function.
I don't really yet understand everything about this but I wrote my first
OwnerDraw derived CListBox class for the DrawItem Function to change
the text in my VC studio resource editor created ListBox.
Well the code compiled with no errors but in my debugger I noticed that
this one UINT in my DrawItem function, going in was already initialized with
a value that it should not ha
|
2/18/2010 2:20:48 AM
|
5
|
"RB" <NoM...@NoSpam>
|
help with printing
My screen display is quite different to the required printed output
I would like to have one CView on screen.
But when the user selects Print or PrintPreview I'd like to generate and
display a totally different CView - one completely different to the one
being displayed
Any suggestions will be much appreciated.
|
2/17/2010 9:45:16 PM
|
1
|
phil oakleaf <n...@oakleafsoftware.co.uk>
|
DESCARGAS - ANTIVIRUS GRATIS 7659
Muchos problemas de rendimiento y seguridad de tu computador son causados por
virus maliciosos, la mejor forma de combatir esto es tener instalado un
Antivirus reconocido y actualizado en tu computador
Descarga gratis Antivirus en:
http://antivirus-gratis-descarga.blogspot.com/
Links de contenido del sitio web:
http://antivirus-gratis-descarga.blogspot.com/
http://antivirus-gratis-descarga.blogspot.com/2009/08/que-es-un-antivirus.html
http://antivirus-gratis-descarga.blogspot.com/2009/08/descarga-gratuita-de-antivirus.html
http://antivirus-gratis-descarga.blogspot.com/2009/0
|
2/17/2010 7:20:02 PM
|
0
|
=?Utf-8?B?YW50aXZpcnVzIGdyYXRpcw==?= <antivirusgra...@discussions.microsoft.com>
|
Collapse / Expand formula bar button from Excel
Hello
How can I have a button like the 'Expand Fromula Bar' one in Microsoft
Office Excel 2007 in my application ? The Excel button I want is to the
far right end of the formula bar of an Excel workbook.
I would like it to the right end of my toolbar, where clicking it would
expand the toolbar much like the Excel formula bar expands when clicking
it, but how do I get the button ?
Thank you,
Timothy Madden
|
2/17/2010 4:56:04 PM
|
2
|
Timothy Madden <terminato...@gmail.com>
|
Listview displaying blank images
Hello ALL,
I have an ATL Com object which displays a set of items in a list view. Each item in the list control is shown using an image also.
When I access this ATL COM object from a C++ based application, everything works. But when i access the same from C# application, images are appearing as blank.
I tried directly inserting items as well as virtual list view method. Both results are somewhat same.
What would be the reason? How do I resolve it?
|
2/17/2010 3:28:08 PM
|
2
|
WLAN <u...@msgroups.net/>
|
get disk information
How to get the hard disk serial number and model number using winioctl
(deviceiocontrol).
Also how to know any disk is hard disk or usb drive
|
2/17/2010 9:30:40 AM
|
5
|
"Ashish" <akohli_2...@hotmail.com>
|
forum post test only - ignore
Has anyone been expiring posting problems into this group? Two of my
postings were successful in submission by then appears to have
"expired" when viewing. Lets see what happens when posting via Google
Groups.
|
2/17/2010 9:19:24 AM
|
1
|
Hector Santos <sant9...@gmail.com>
|
DialogBox not modal, why?
hi,
i do have a application that mainly exists of a WinMain() that creates a
DialogBox() and has a big DialogProc() that handles all controls and
commands. one of the commands invokes a second DialogBox() with its own
DialogProc() but the second dialog is not modal to the main dialog, that
is, it will be overlapped by the main dialog when i click on the main
dialog and whenever i click on the button that creates the second dialog
i get more and more dialogs but none of them is modal to the main
dialog. What am i doing wrong here? is maybe the dialog box template
missing some
|
2/17/2010 8:45:51 AM
|
3
|
Ken Snyder <mp5...@hotmail.com>
|
What difference between these functions?
Hello all:
I find some functions with underline before function name,
sunch as _open, I want to know what difference between open and _open?
I am heard the functions are classsified ANSI functions and Non-ANSI
functions,
Is it right?I want to know what class the function _open is?thanks.
|
2/17/2010 3:34:51 AM
|
5
|
"Lee Tow" <fb...@pub3.fz.fj.cn>
|
dtor not called
VS2008 SP1. WinXP x64 SP2. Compiled as 32-bit.
I'm using the feature pack to update my GUI. When I close the app, my
CMDIFrameWndEx derived class's destructor is not being called leaving a
zombie process still running. What could be the explanation?
Thanks,
Drew
|
2/16/2010 6:59:11 PM
|
4
|
"Drew" <...@dam.com>
|
show Image with CImage - Debug assertion failed
Hi,
I tried to show a png Image using CImage ( Visual Studio 2008 prof )
It works pretty good, but only in Release Mode. If I run it in Debug Mode
there is a Message:
"Debug Assertion Failed!
Program: ....[..]\application.exe
File: g:[...]\atlimage.h
Line: 503
Expression: m_hbitmap == 0
[..]
if I ignore the message the picture is schown. How can I avoid this Failure
My Code:
BOOL OK;
LPCTSTR lpBitSource=_T("D:\\Daten\\Visual Studio
2008\\Projects\\LitLaunchTestbox\\LitLaunch\\brett1.png");
CRect rect;
GetClientRect(&rect);
CWindowDC pDC(this);
CDC d
|
2/16/2010 5:33:49 PM
|
3
|
"Manuel Hoeger" <Manuel.Hoe...@physik.stud.uni-erlangen.de>
|
pcnetsecurity@gmail.com =?UTF-8?B?QXNzaXN0w6puY2lhIFTDqWM=?= =?UTF-8?B?bmljYSAgbWFudXRlbsOnw6M=?= =?UTF-8?B?byBkZSBjb21wdXRhZG9y?= =?UTF-8?B?ZXMgaW5mb3JtYXRpY2Eg?= =?UTF-8?B?Vml0w7NyaWEtZXMgMDcwNzg=?=
Contato: pcnetsecurity@gmail.com
Contato: pcnetsecurity @ gmail.com
Planos a partir de R$ 250,00 .
Assist�ncia T�cnica
Prestamos assist�ncia t�cnica nos computadores de sua empresa ou resid�ncia, e tamb�m possu�mos uma equipe qualificada para fazer a manuten��o no pr�prio local.
- Contratos de Suporte e Manuten��o
Reduza os custos de sua empresa com solicita��es de visitas t�cnicas para seus computadores, elaboramos um contrato de manuten��o integrado para sua empresa onde disponibilizamos: t�cnicos, equipamentos de suporte e substitui��o, e atendimento no hor�rio comercial ou
|
2/16/2010 5:18:52 PM
|
0
|
Assitencia manutencao remocao de virus computador pc<manutencao.assiten...@computador.pc.com>
|
Changing default of static control
I want to change the size of the font in my static control. I get the current
font, and reset its height as shown below, but it does not have the desired
affect. The font size does increase but not consistently. For example, if I
increase the font hieght by 10, it actually shows a smaller size than the
original.
CFont fontStatic;
CFont *pFont = m_StaticText.GetFont();
CFont *pFontNew = new CFont();
if (pFont)
{
LOGFONT logFont;
pFont->GetLogFont(&logFont);
logFont.lfHeight += 30;
pFontNew->CreateFontIndirectW(&logFont);
m_StaticText.SetFont(pFontNew);
}
|
2/16/2010 1:41:01 PM
|
5
|
=?Utf-8?B?Slk=?= <...@nospamgroup.com>
|