I am using VC++6. I want to draw some simple shapes (e.g. line,
circle, pixel) on a dialog box. How can I do this? Thanks a lot 18 3514
sadegh wrote:
I am using VC++6. I want to draw some simple shapes (e.g. line,
circle, pixel) on a dialog box. How can I do this? Thanks a lot
You'd be better of asking in a VC group.
--
Ian Collins.
sadegh skrev:
I am using VC++6. I want to draw some simple shapes (e.g. line,
circle, pixel) on a dialog box. How can I do this? Thanks a lot
Access the Windows SDK Documentation and read about the GDI.
--
OU
On May 6, 11:20 am, sadegh <sadegh...@yaho o.comwrote:
I am using VC++6. I want to draw some simple shapes (e.g. line,
circle, pixel) on a dialog box. How can I do this? Thanks a lot
Get the DC of the dialog then draw.
--
Generic Window Handler - easy dialogs & MDI - no MFC www.beotel.net/~gwh
On May 6, 3:56 pm, aleksa <aleks...@gmail .comwrote:
On May 6, 11:20 am, sadegh <sadegh...@yaho o.comwrote:
I am using VC++6. I want to draw some simple shapes (e.g. line,
circle, pixel) on a dialog box. How can I do this? Thanks a lot
Get the DC of the dialog then draw.
Could you please tell me what should I do to get the DC of the Dialog?
for example I have a button on the dialog and I want to show a line on
the Dialog by clicking on the button.
"sadegh" <sa*******@yaho o.comwrote in message
news:11******** *************@h 2g2000hsg.googl egroups.com...
On May 6, 3:56 pm, aleksa <aleks...@gmail .comwrote:
>On May 6, 11:20 am, sadegh <sadegh...@yaho o.comwrote:
I am using VC++6. I want to draw some simple shapes (e.g. line,
circle, pixel) on a dialog box. How can I do this? Thanks a lot
Get the DC of the dialog then draw.
Could you please tell me what should I do to get the DC of the Dialog?
for example I have a button on the dialog and I want to show a line on
the Dialog by clicking on the button.
Please, this question is off topic for this newsgroup. This newsgroup deals
with the standard C++, not extentions (linux, windows, etc...). Please ask
in a windows newsgroup
sadegh wrote:
On May 6, 3:56 pm, aleksa <aleks...@gmail .comwrote:
On May 6, 11:20 am, sadegh <sadegh...@yaho o.comwrote:
I am using VC++6. I want to draw some simple shapes (e.g. line,
circle, pixel) on a dialog box. How can I do this? Thanks a lot
Get the DC of the dialog then draw.
Could you please tell me what should I do to get the DC of the Dialog?
for example I have a button on the dialog and I want to show a line on
the Dialog by clicking on the button.
You are off-topic in this newsgroup. Go find the correct one.
Brian
aleksa wrote:
On May 6, 11:20 am, sadegh <sadegh...@yaho o.comwrote:
I am using VC++6. I want to draw some simple shapes (e.g. line,
circle, pixel) on a dialog box. How can I do this? Thanks a lot
Get the DC of the dialog then draw.
Stop giving out off-topic advice.
Brian
On May 6, 11:51 am, Ian Collins <ian-n...@hotmail.co mwrote:
sadegh wrote:
I am using VC++6. I want to draw some simple shapes (e.g. line,
circle, pixel) on a dialog box. How can I do this? Thanks a lot
You'd be better of asking in a VC group.
One comment that might be vaguely on topic here: he'd also be
better off getting a more recent version of VC++. VC++ 6 is
close to ten years old, and the language has changed
considerably since then.
--
James Kanze (Gabi Software) email: ja*********@gma il.com
Conseils en informatique orientée objet/
Beratung in objektorientier ter Datenverarbeitu ng
9 place Sémard, 78210 St.-Cyr-l'École, France, +33 (0)1 30 23 00 34
James Kanze wrote:
On May 6, 11:51 am, Ian Collins <ian-n...@hotmail.co mwrote:
>sadegh wrote:
>>I am using VC++6. I want to draw some simple shapes (e.g. line, circle, pixel) on a dialog box. How can I do this? Thanks a lot
>You'd be better of asking in a VC group.
One comment that might be vaguely on topic here: he'd also be
better off getting a more recent version of VC++. VC++ 6 is
close to ten years old, and the language has changed
considerably since then.
It's strange isn't it? Most platform vendors now have a free version of
their latest tools, but people still use the old ones.
--
Ian Collins. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Rolf Brauser |
last post by:
Hello,
is it possible to draw a one pixel line around every cell in a table?
with "border: 1px solid; " just the outer tableborder ist concerned ?
thanks for any help
rolf
|
by: R |
last post by:
Hello everybody!
I'm newbie to JavaScript and I have a basic question.
I have X and Y coordinates of A and B points.
How can I draw a line connecting A and B?
thanks in advance
cheers
|
by: Matt |
last post by:
I am writing a recursive program to draw the lines recursively, given the
range and number of intervals (n) between the range.
The problem is I don't know how to draw the line in point 0.375, as you see below.
Please advise! Thanks!
#include <iostream>
using namespace std;
|
by: ClearWater |
last post by:
Please explain in detail include needed code.
|
by: John |
last post by:
How can I draw single 1x1 pixel "dot" in window? Not a
line, I really mean "dot".
| |
by: Pat Keel |
last post by:
Hi there,
I'm looking for a solution to draw a one pixel sized point to a graphics
control. E.g. DrawLine(10,10, 11,11) draws 2 pixels, DrawLine(10,10,
10,10) has no effect.
How to do?
Thanks
Pat
|
by: Jason Huang |
last post by:
Hi,
In my C# Windows Form, how do I draw a Line?
Thanks for help.
Jason
|
by: Sonic |
last post by:
I want draw a line for saperate form, how do i do?
thx
|
by: cty0000 |
last post by:
I need to draw only 1 pixel but I can not found out the way...
I tried to use like following in some function
(point1 is Point instance)
Graphics gB = Graphics.FromImage(gBmp);
gB.DrawEllipse(pen.WHITE, point1.X, point1.Y, 1, 1);
gB.DrawRectangle(pen.WHITE, point1.X, point1.Y, 1, 1);
gB.DrawLine(pen.WHITE, point1,point1);
|
by: complete |
last post by:
How do you draw a line on a canvas in WPF that is 1 pixel thick?
This is the method I am using for drawing a line on a canvas in WPF that uses the line class set to 1 pixel thick but it actually draws a line that is two pixels thick:
Line myLine = new Line();
myLine.Stroke = System.Windows.Media.Brushes.Black;
myLine.X1 = 100;
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |