Can I create custom user interface in C#, for instance like MS Office2000, similarly as in Visual C++. Mike
Mike 0
Posts
-
User Interface -
VS7, .NET and MSDN Universal SubscriptionI am dying to get my hands on the C#. My question is whether the latest or up coming installments of MSDN Universal Subscription will have beta version of C#.
-
VS7, .NET and MSDN Universal SubscriptionI am dying to get my hands on the VS7 and .NET. My question is whether the latest or up coming installments of MSDN Universal Subscription will have beta version of VS7 and .NET.
-
Challenging Problem, Solution Wanted!Situation: There is one machine (host) to which number of other machines (subscribers) want to establish connection over Internet. None of the subscribers is under the same domain as host. The idea is that the subscribers could establish as much real-time communication link over Internet to the host, which can only relay on Internet connection. The communication would mostly involve text base exchange. Question: I would use some guidelines on how to construct a solution, Windows Sockets, RPC SDK, anything else please suggests. Is it possible? I would also appreciate any samples that you many know off. Thanks in advance.
-
Default Browser SettingsI am currently trying to find out, where exactly in the registry I can find the default browser. On my local pc ie is the default browser, but I've found serveral entries in the registry directing to the installation path of ie. Can somebody help me?
-
Can I change text and background colors on dialogs?The computers my app runs on are set for 8 bit color. I am able to display images and simple line graphics just fine. Now I want to add a dialog box which uses the same colormap. I want to display different sections of text on the dialog in different colors with different color backgrounds. Of course, all colors come from the same colormap as the main app. When I override the OnCtrlColor for the dialog, I select and realize the same palette as the application. But it does not make a difference. The colors appear wrong. Sometimes they appear dithered. Any ideas? Thanks, Mike
-
printing a graphicI did exactly what you have said to do here. But, apparently some printers do not support dc.StretchBlt (). They did before because my code worked for about a year. I don't know what happened but it stopped working. I am now trying as follows (with little success): HANDLE hBitamp = ::CreateCompatibleBitmap (printerDC, width, height); memDC.SelectObject (hBitmap); // do some drawing into the printerDC CBitmap it; it.Attach (hBitmap); unsigned char *bits = new unsigned char [640*480]; it.GetBitmapBits (640*480, bits); ::StretchDIBits (printerDC.GetSafeHdc (),.... bits,....); And it does most of what I want. The image is flipped about the Y axis, but that's not a problem. But, none of the line graphics appear. Any ideas? Thanks, Mike
-
DIBSection UseHi. If I have a bitmap handle created with h = CreateCompatibleBitmap (...) can I replace this line to h = CreateDIBSection (...) without having to change anything else? Can I then attach the new handle to a DC and draw in it? Can I then access the bitmap bits via the ppbits pointer returned from the Create DIBSection? Thanks, Mike
-
basic question================== The original message was: What should the output to the following program be ?
VC6 gives: 1 1#include "stdio.h"
void test(int i, int j)
{
printf("%d %d\n", i, j);
}main()
{
int i = 0;
test(i, ++i);
}