|
|
I really can't be bothered with this rubbish.
Am I to take it from you that the following are insults?
- Go away
- Nick off
- Sod off
- Bugger off
I'd agree that some may consider it insulting to be told to go away - I consider it insulting to be forced to vote in a democracy.
But neither being told to go away or being required to vote is an insult. You may want to turn down the gain on your sensitivity stage.....
|
|
|
|
|
enhzflep wrote: You may want to turn down the gain on your sensitivity stage.....
I am not in the least bothered by such expressions. I just agree with Chris that this sort of language is not appropriate in the general forums.
|
|
|
|
|
I won't bother pointing out the fact that you've changed your complaint when challenged.
I will point out that - I provided information that indicated the problem I had with the offending post
- There was no insult in my reply
- There was no sarcasm in my post
- There was no slap-down handed out
- Each of the words used are entirely 10 y/old sister safe
I've resigned myself to the realization that if you're prepared to agree, the best we can do is to agree to disagree.
If that still doesn't suit you, I suggest you follow point 4 of "HOW TO ANSWER A QUESTION" with regards to my post that you deem so awful. Should there be sufficient repetitions of that direction, my post will evaporate. Before that point, I will not be taking a step backwards.
|
|
|
|
|
enhzflep wrote: I won't bother pointing out the fact that you've changed your complaint when challenged.
I've changed nothing; you are merely trying to justify your use of offensive language.
|
|
|
|
|
Indeed. On reflection, I did make a muck of that. I'd erroneously recalled that you first declared it an insult.
Clearly, your definition of offensive and mine do not match. However, it is kid-sister safe.
So, do we agree to disagree?
|
|
|
|
|
enhzflep wrote: So, do we agree to disagree?[Coffee]
Sure, although I'm drinking tea at the moment.
|
|
|
|
|
Makes two of us. (drinking tea at the moment, that is)
|
|
|
|
|
And just for the record, nothing in the foregoing exchange changes my opinion of your technical abilities (which is on the high side).
|
|
|
|
|
That's very kind of you to mention your favourable view.
I have the same opinion of you. I eagerly anticipate the content of your responses whenever I see your username. (perhaps less so for the preceding conversation, though that's another matter )
Gee computing is easy when people and personalities aren't involved!
Upwards and onwards...
Regards,
Simon.
|
|
|
|
|
enhzflep wrote: the preceding conversation
Closed and forgotten.
|
|
|
|
|
Sleep will lock all update/refresh to the display.
For example, use glutTimerFunc to update your scene transformations and draw your scene at fixed intervals.
Have a look at : 3.050 How can I perform animations with GLUT?[^] for a start.
Watched code never compiles.
|
|
|
|
|
Invalidate();
Sleep(5000);
That call to Sleep() prevents your code from responding to the next WM_PAINT message. You need to run in a separate thread, or put this code in your paint handler.
|
|
|
|
|
Hi,
I have a MFC dialog based application with a picture control on it. I want to draw an image in the picture control using ImageMagick. Can anybody give a sample code or any guidance for the same.
Regards,
mbatra
|
|
|
|
|
Have a look to:
http://www.imagemagick.org/script/index.php[^]
there are some links to examples on how to use it just below the picture of the magician (in the "Features and Capabilities")
Hope you find something there that gives you an idea
Regards.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpfull answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
I dont know if i am some kind of stupid, but I am trying to convert a bitmap to a toolbar.
I am following the guides at the link http://msdn.microsoft.com/en-us/library/5xka8ka4(v=vs.90).aspx[^] but the Toolbar Editor at the step 2 is disabled.
What the heck is going on here ? How to convert a bitmap to a a toolbar ?
Regards,
sdancer75
|
|
|
|
|
Do you want to make the bitmap as a full toolbar? or do you want to use a bitmap as icon for a button in a toolbar?
Regards.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpfull answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Thank you for your reply.
As a full toolbar. Anyway i dont know if its a correct solution, but I just replaced the bitmap in the res folder.
I am using VS2008.
thanks
sdancer75
|
|
|
|
|
It's a good solution. The toolbar editor is rubbish, so I use a png editor and convert to 32bit bitmap before compiling.
Iain.
I am one of "those foreigners coming over here and stealing our jobs". Yay me!
|
|
|
|
|
Hi..i'm doing my final year project on classification data using clonal selection method.but i can't find the source on how to generate this program using c++..I really hope someone can help me..
|
|
|
|
|
incorrect member wrote: i can't find the source on how to generate this program using c++
That's because you are expected to write it.
|
|
|
|
|
|
As it's your final year project it's better if you do the research and write the code. If you don't write the code you're going to have to validate it to convince the examiners that it's valid. Also the references you find will generate more paper at the end of your thesis and examiners love loads of references. If you can find some to your supervisors work make sure those papers in there.
|
|
|
|
|
Hello,
I'm creating this Windows Forms application (see code below):
#include <windows.h>
/* Declare Windows procedure */
LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM);
/* Make the class name into a global variable */
char szClassName[ ] = "SysFrzX_mGui";
int WINAPI WinMain (HINSTANCE hThisInstance,
HINSTANCE hPrevInstance,
LPSTR lpszArgument,
int nFunsterStil)
{
HWND hwnd; /* This is the handle for our window */
MSG messages; /* Here messages to the application are saved */
WNDCLASSEX wincl; /* Data structure for the windowclass */
/* The Window structure */
wincl.hInstance = hThisInstance;
wincl.lpszClassName = szClassName;
wincl.lpfnWndProc = WindowProcedure; /* This function is called by windows */
wincl.style = CS_DBLCLKS; /* Catch double-clicks */
wincl.cbSize = sizeof (WNDCLASSEX);
/* Use default icon and mouse-pointer */
wincl.hIcon = LoadIcon (NULL, IDI_APPLICATION);
wincl.hIconSm = LoadIcon (NULL, IDI_APPLICATION);
wincl.hCursor = LoadCursor (NULL, IDC_ARROW);
wincl.lpszMenuName = NULL; /* No menu */
wincl.cbClsExtra = 0; /* No extra bytes after the window class */
wincl.cbWndExtra = 0; /* structure or the window instance */
wincl.hMaximize = false;
/* Use Windows's default color as the background of the window */
wincl.hbrBackground = (HBRUSH) COLOR_BACKGROUND;
// center_window(hwnd, width, height);
/* Register the window class, and if it fails quit the program */
if (!RegisterClassEx (&wincl))
return 0;
/* The class is registered, let's create the program*/
hwnd = CreateWindowEx (
0, /* Extended possibilites for variation */
szClassName, /* Classname */
"", /* Title Text */
WS_OVERLAPPEDWINDOW, /* default window */
CW_USEDEFAULT, /* Windows decides the position */
CW_USEDEFAULT, /* where the window ends up on the screen */
500, /* The programs width */
400, /* and height in pixels */
HWND_DESKTOP, /* The window is a child-window to desktop */
NULL, /* No menu */
hThisInstance, /* Program Instance handler */
NULL /* No Window Creation data */
);
/* Make the window visible on the screen */
ShowWindow (hwnd, nFunsterStil);
/* Run the message loop. It will run until GetMessage() returns 0 */
while (GetMessage (&messages, NULL, 0, 0))
{
/* Translate virtual-key messages into character messages */
TranslateMessage(&messages);
/* Send message to WindowProcedure */
DispatchMessage(&messages);
}
/* The program return-value is 0 - The value that PostQuitMessage() gave */
return messages.wParam;
}
/* This function is called by the Windows function DispatchMessage() */
LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{
switch (message) /* handle the messages */
{
case WM_DESTROY:
PostQuitMessage (0); /* send a WM_QUIT to the message queue */
break;
default: /* for messages that we don't deal with */
return DefWindowProc (hwnd, message, wParam, lParam);
}
return 0;
}
I see things like hIcon and hCursor from wincl, what I want is, what is a list of those things (like the hIcon and hCursor). Similar to Visual Basic forms, where properties like Enabled, Visible, Text, Opacity, etc. And this massive code block is in the programming language C.
Simple Thanks and Regards,
Brandon T. H.
Been programming in Visual Basic for 4 years this point forward, and is very good at it (I can even create programs completely on code, without dragging those items from the toolbox). Programming C++ for 1 year so far and the same with C#.
Many of life's failures are people who did not realize how close they were to success when they gave up. - Thomas Edison
|
|
|
|
|
If I understand you correctly, there isn't one!
Also, for what it's worth - the window this app creates is NOT a form, it's a window. A form is a class that wraps and contains a window - .NET languages contain forms.
VB.Net, C++/CLI and C# all wrap the C Api into classes. It's these classes that maintain a list of the properties of the window.
|
|
|
|