Search Results

Showing results 1 to 21 of 21
Search took 0.01 seconds.
Search: Posts Made By: GadiK ; Forum: C++ and child forums
Forum: C++ 6 Days Ago
Replies: 2
Views: 128
Posted By GadiK
Of course I didn't mean to insert the flow chart directly into the code.

I meant for the IDE to keep some kind of reference at the point of my choosing (function header for example) to an image....
Forum: C++ 6 Days Ago
Replies: 2
Views: 128
Posted By GadiK
Hi. I'm writing a function for a project that has many authors. I thought it would be nice if there was a tool (VS add-in) that would enable me to insert a comment in the form of a flow chart so that...
Forum: C++ May 25th, 2009
Replies: 2
Views: 679
Posted By GadiK
Hi,
I'm facing the same problem you mentioned. Could you please explain how you solved this (if you remember).

Thanks.
Forum: C++ Mar 13th, 2009
Replies: 7
Views: 1,025
Posted By GadiK
Yes that indeed was the problem. (It didn't compile because I used ";" at the end of a #define line). Now everything works. I send the message like this:

GetParent()->SendMessage(UWM_ON_ENTER,...
Forum: C++ Mar 10th, 2009
Replies: 7
Views: 1,025
Posted By GadiK
Well the sending message part did not go smoothly.
Reminder:
I have the main GUI class: Ctry_ENTERdlg
and a dervied class for capturing an ENTER in an Edit box: CMyEdit.

Now what I am trying to...
Forum: C++ Mar 6th, 2009
Replies: 7
Views: 1,025
Posted By GadiK
Oh My God!!!!
I can't believe it, when I changed the type of the controller to the EditBox from CEdit to CMyEdit I forgot to change it in the DoDataExchange function :$ .
Luckily mitrmkar was...
Forum: C++ Mar 6th, 2009
Replies: 7
Views: 1,025
Posted By GadiK
Setting the Default to a specific button is not the solution I want because in the future I would want 10 edit boxes with 10 buttons to correspond to each box.
I'm looking for a more generic...
Forum: C++ Mar 6th, 2009
Replies: 7
Views: 1,025
Posted By GadiK
Hello dear forum friends.
I know that this subject has been dealt with before. I read the threads about this issue in this forum however I still couldn't make it work. So I'm bringing this up again...
Forum: C++ Mar 1st, 2009
Replies: 2
Views: 1,672
Posted By GadiK
Hi Guys.
I wrote a nice MFC application.
This app uses a number of threads and is meant to manage rs232 communication with a microcontroller.
When I send or receive data Visual Studio informs me...
Forum: C++ Feb 22nd, 2009
Replies: 3
Views: 536
Posted By GadiK
Of course!! How silly of me.
But I guess what really troubles me is the use of the global parameter DrawMode to distinguish between rectangles an circles. I think what I proposed is not good object...
Forum: C++ Feb 21st, 2009
Replies: 3
Views: 536
Posted By GadiK
Hi Guys,
I'm trying to write a simple game of drawing rectangles and circles in a window. I've created a different class for each shape: RectClass and CircClass. Each of these classes has it own...
Forum: C++ Feb 15th, 2009
Replies: 4
Views: 1,385
Posted By GadiK
Okay,
thanks a lot!! I'll stick to your method.
Forum: C++ Feb 15th, 2009
Replies: 4
Views: 1,385
Posted By GadiK
Okay the idea with the string worked! (Only for some reason "\n" isn't enough and you need to write "\r\n").
But I would've thought there is a much simpler way to do this using MFC. Maybe there's...
Forum: C++ Feb 14th, 2009
Replies: 4
Views: 1,385
Posted By GadiK
Hi Guys,
I'm trying to write a program (MFC) that while working displays a log to the user. For this log I thought I'd use an Edit Box because I can set it to be "multiline".
What I had in mind is...
Forum: C++ Dec 31st, 2008
Replies: 2
Views: 291
Posted By GadiK
well someone told me about this thread, that seems to work.
http://www.programmersheaven.com/mb/mfc_coding/236324/236324/dynamic-button-creation/?S=B20000
Forum: C++ Dec 30th, 2008
Replies: 2
Views: 291
Posted By GadiK
Hello,
I'm writing a GUI using MFC.
I have a number of press buttons that preform identical tasks on different members of an array.

I know how to make a handler function for each button.
I'm...
Forum: C++ Dec 17th, 2008
Replies: 6
Views: 1,321
Posted By GadiK
okay, just wanted to let you know that I've worked things out.
Your tips were helpful so thank you very much.

I'll explain what I did so that others with a similar problem would try it.
Instead...
Forum: C++ Dec 4th, 2008
Replies: 6
Views: 1,321
Posted By GadiK
Thanks.
I'll try it on Monday, report to you then :icon_wink:
Forum: C++ Dec 4th, 2008
Replies: 6
Views: 1,321
Posted By GadiK
Another development:
If I set the following conditions I am able to run the entire application with 62% CPU usage (where without the above thread the main application uses 52%):...
Forum: C++ Dec 4th, 2008
Replies: 6
Views: 1,321
Posted By GadiK
Hi,
I didn't try on another computer yet.

The Sleep() function is set to 1 milisecond. It is the minimum, so I tested to see if a "longer" sleep would help me - it didn't, it took longer.
...
Forum: C++ Dec 3rd, 2008
Replies: 6
Views: 1,321
Posted By GadiK
Hey,
I'm having a problem reading from a device attached to my serial port.

I have a big application which uses a thread to read from the serial device and writes the data to a log file. The...
Showing results 1 to 21 of 21

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC