Hello everybody.
My project is composed by some dialogs of base type CMyDlg which receives characters and manages them by a function "OnCharReceived" called by the environment upon char...
Type: Posts; User: BrownB
Hello everybody.
My project is composed by some dialogs of base type CMyDlg which receives characters and manages them by a function "OnCharReceived" called by the environment upon char...
Hello everybody, I'm looking for tips about managing configuration parameters of a window / sub-application.
I need to manage customizable relations between those parameters, which should be...
So I'm not going to expect that VisualC++ supports it....:P
Thank you for the explanations ^___^
Looking around I found that the question could be better expressed in this words: how does c++ evaluate compound statements( same as "blocks")? Does blocks evaluate to something (an address, an...
Hello, I found this code on the internet:
#define _LPM(addr) \
({ \
UInt16 __addr16 = (UInt16)(addr); \
UInt8 __result; \
__asm__ ...
...it was obvious: SendMessage( pDialog, WM_PAINT ) make the window to be drawn immediately without making it "modal".
Hello, I need to create a surface to draw on it. This surface (the upper layer) should ovelap the base "layer", which should be updated with graphic while the upper layer is shown. Note that the size...
Ok, let's say something like this:
UINT MyDlg::privGetNumCharsInQueue(CHAR c)
{
MSG msg;
UINT count = 0;
UINT k = 0, i = 0;
#define MAX_MESSAGES 10
Hello! I'm using a custom WM_MYCUSTOM message to send chars received by a thread to my Dialog using PostMessage(). Each char is sent as parameter of that message.
Now, during elaboration of that...
Hello, I'm trying to draw using CDC objects, each drawing action is done in a thread function. Let's show some code:
void CMyClass::Draw( CDC *pDCin )
{
m_pDC = pDCin;
AfxBeginThread(...
Thank you Elysia, I'll keep trying, it's important enough that the call from the thread to the class's method it's ok now, so it can be excluded. I'll let you know :-)
First, thank you to keep going on helping me^^.
Removing the cast didn't change the situation: the compiler doesn't comply, and compiles without warnings. The called functions still can't access to...
I did everything you suggested, but doesn't work...now this is the current situation:
class CMyDlg : public CDialog
{
....
private:
void privExecCommand( CHAR cmd );
static UINT...
Hello, I need help about this thing. For shure this have been seen many times but I just can't find the keywords to search about....:P Here is the problem:
I have a CDialog derived window with a...
Hello, I'm developing an application with VisualC++, and I need to use strings in more than one language. Until now, I wrote only English text labels, controls or messages, directlyin the code. Now...
Hello, I'm almost new on working with Dlls, I've read most but I have some questions.
1) the functions in a Dll can access to the global memory of the calling application; true?
2) as an exe, the...
What about an example on my previous code?:) that would be very useful for me!I know something about those OOP topics, but can't see how to use them in this case...perhaps I should feel a bit...
Hello, I'm still a beginner with C++, while being "well trained" with C. I'm developing a class for a customizable GUI control, which lets you assign a Paint function.
To do that I use function...
Hello, I'm using CF cards as Hard Disks (TrueIDE mode) on a cutom hardware. There I can find MBR informations and partitions Boot Sectors. I followed the ufficial indications to parse MBR...
I found a solution, I'm writing it here, perhaps someone would discuss it or find it useful.
1) I formatted a USB pen drive with the "HP USB Disk Storage Format Tool", which can be downloaded from...
Hello, I have this problem: I have a panel PC which has WinXP embedded and WinXP professional on two partitions. Only the XP Embedded partition is a system partition. Thi panel PC has only USB and...
Hello, I was wondering about managing code source files between many programmers: should everyone "sign" in the code every modification he does? Should the file being modified by a programmer be...
Thank you Salem, but how did you get the data in your csv file? By hands? I have more than 1000 points to export, so manual export is not possible...I'm googling and searching in Borland help and...
Setting the affinity worked great, that was the problem. My application isn't using correctly graphic threads, so using Dual Core (as in the past using HyperThreading) causes the two graphic threads...
Hello, I'm working on Borland C++ Builder 5. I'd like to export arrays of data during debug to a software to graph them, like excel or matlab, but I can only visualize arrays without be able to...