|
More site info...
Visual C++ Programming | Forum profile
|
|
Forum profile page for Visual C++ Programming on http://www.codeguru.com.
This report page is the aggregated overview from a single forum: Visual C++ Programming, located on the Message Board at http://www.codeguru.com.
This forum profile page summarizes the general forum statistics such as: Users Activity, Forum Activity, and Top Authors, which are reported in either a table or graph below for a given reporting time period.
Additional forum profile information for "Visual C++ Programming" on the Message Board at http://www.codeguru.com is also shown in the following ways:
1) Latest Active Threads
2) Hot Threads for Last Week
Warning: These statistics are generated using 'best efforts' and can experience delays and reporting errors at times. Please note that such statistics do not constitute a forum's popularity and/or exact posting volumes at any given reporting period.
|
|
|
|
|
Posting activity on Visual C++ Programming:
|
|
Week
|
Month
|
3 Months
|
|
Threads:
|
165
|
676
|
2,213
|
|
Post:
|
426
|
1,970
|
7,059
|
|
|
Visual C++ Programming Posting activity graph:
|
Top authors during last week:
user's latest post:
Dll Dialog not showing
Published (2009-11-26 22:05:00)
Quote: Originally Posted by anandji05 My problem is that i want to call dialog through Dlls. . . No, that is not your problem. What you are trying to do is to call dialog in a dll . and that has nothing to do with your problem that can be described as follow: Quote: Originally Posted by anandji05 i am creating an application in VS2005 using MFC. I am nor able to start application and I am getting: Unhandled exception at 0x557562f9...
user's latest post:
MFC, invisible dialog app with...
Published (2009-11-28 09:30:00)
Quote: Originally Posted by Msm use [CODE RunModalLoop()[/code] Where an hat for? RunModalLoop is used internally within CDialog: oModal Use Arjay 's approach: it will work good!
user's latest post:
SendMessage not working??
Published (2009-11-28 16:53:00)
See this FAQ: http://www.codeguru.com/forum/showthread.php?t=377393
user's latest post:
Accept only characters in Edit Box.
Published (2009-11-28 12:05:00)
To expand on VictorN's fine reply, if you are using common controls 6.0 or later, you could also use the "balloontip" feature to notify your users about the unacceptable character (modified slightly from working code): Code: void CMEdit::OnChar(UINT nChar, UINT nRepCnt, UINT nFlags) { EDITBALLOONTIP bt; CString m_sReason; if(!IsCharAlpha(nChar)){ bt.cbStruct=sizeof(EDITBALLOONTIP); bt.pszTitle=L"Unacceptable...
user's latest post:
std::bad_alloc
Published (2009-11-28 07:15:00)
Visual Studio comes with a debugger. Did you use it? It is mandatory that you know how to use tools such as a debugger if you are going to write a non-trivial program. Secondly, pass objects like deque by reference or const reference, not by value. See the correction in red below: Code: int auswahlproblem_string (deque<deque<string>> & liste, unsigned long int x_kleinstes) //... deque <deque...
user's latest post:
SendMessage not working??
Published (2009-11-28 07:50:00)
Are you sure the messages are send inside the loop ?
user's latest post:
Accept only characters in Edit Box.
Published (2009-11-28 08:43:00)
Is there any way to accept only characters in MFC Edit Box. We have to restrict every key input except characters.
user's latest post:
[RESOLVED] Global variable in a...
Published (2009-11-23 14:52:00)
Sorry Paul, it looks like I've misled you here. This seems to have been an issue with incremental linking. When I did a full build, the problem went away. Apologies.
user's latest post:
Need help with Linked Lists
Published (2009-11-28 15:53:00)
Quote: Originally Posted by Shadow_Govt ... trying to display the information in reverse it displays the information as id:2, id:3, and id:1. How did you do that? There are different ways to traverse linked list in reverse order. Most obvious is to implement double-linked list. Since this whole thing looks like a school assignment, it will help if you quote it exactly, or at least state most recent topics covered.
|
|
|
|
Latest active threads on Visual C++ Programming::
Started 2 days, 18 hours ago (2009-11-28 07:50:00)
by Skizmo
Are you sure the messages are send inside the loop ?
Started 2 days, 12 hours ago (2009-11-28 13:55:00)
by VladimirF
Here is one of your errors:
Code:
if( head = 0 )
Started 2 days, 17 hours ago (2009-11-28 09:25:00)
by VictorN
The easiest way is to derive a new class from CEdit, implement WM_CHAR messsage handler in it and don't call the base class (CEdit::OnChar(...)) if the the inserted character is not "alphabetic" (use IsCharAlpha API)
Started 2 days, 15 hours ago (2009-11-28 11:40:00)
by hoxsiew
If I'm reading correctly, UTF-32 is fixed 32 bit and only uses 0x10FFFF code points. Unless you are using some really obscure language, the upper 5 bits are probably not even used so it would seem that you could just truncate each character to 16 bits it a simple loop and you'd end up with a usable wchar_t string.
How is the UTF-32 string represented? I would assume an array of DWORDs, but I...
Started 3 days, 9 hours ago (2009-11-27 17:16:00)
by GCDEF
Call the Dialog's Create method, followed by ShowWindow(SW_HIDE).
Started 4 days, 22 hours ago (2009-11-26 03:55:00)
by Skizmo
What does the debugger tell you about the assertion or where it happens ?
Started 2 days, 19 hours ago (2009-11-28 07:15:00)
by Paul McKenzie
Visual Studio comes with a debugger. Did you use it? It is mandatory that you know how to use tools such as a debugger if you are going to write a non-trivial program.
Secondly, pass objects like deque by reference or const reference, not by value. See the correction in red below:
Code:
int auswahlproblem_string (deque<deque<string>> & liste, unsigned long int x_kleinstes)
//......
Started 5 days, 11 hours ago (2009-11-25 14:58:00)
by Arjay
There's quite a bit of differences between SDI and MDI. I suggest that you create a new MDI project and compare the differences in the CMyWinApp, CMainFrame, CChildFrame, and CMyView classes.
[Edit] Rather than comparing against your program, it might be easier to create a new MDI project and an SDI project and compare those two before looking at your app.
Started 3 days, 6 hours ago (2009-11-27 20:02:00)
by Paul McKenzie
Quote:
Originally Posted by pinoy_coda
I feel that this is toughest task.
GOAL: Ask user to input date ex. 11. It prints out the day of the week which will require lots of arguments.
You need to explain a little better what problem you're having. Arguments are what you provide to functions, and I don't see ...
|
|
Hot threads for last week on Visual C++ Programming::
Started 1 week, 1 day ago (2009-11-22 14:08:00)
by bitshifter420
Just implement the member functions...
Code:
class Point {
private:
int x;
int y;
public:
// goal a
void SetX(int x);
void SetY(int y);
// goal b
void Move(int x, int y);
// goal c
// this one is a bit shady
// i would ask for clarification
void RotateClockwise90Degrees();
// goal d
int GetX() const;
int GetY() const;...
Started 1 week ago (2009-11-23 19:55:00)
by GCDEF
What if i's initial value was start and looped until it was greater than finish?
Just saying...
The condition can be anything that evaluates to true or false.
Started 6 days, 18 hours ago (2009-11-24 07:58:00)
by VictorN
Create a dialod with two edit controls (as stated)
Handle the EN_CHANGE notification message in the first control
In the EN_CHANGE message handler read the text from the first edit control
In a loop get every char of the read text, find out according number from the map and calculate the sum
Set this number to the second edit box
Started 5 days, 16 hours ago (2009-11-25 10:26:00)
by JohnCz
Are you running VS in 64-bit environment?
Started 6 days ago (2009-11-25 02:00:00)
by laserlight
Why on earth do you want to do this? It might be possible, but if it is it would likely be a dreadful hack. Perhaps you should just subclass Test and override fn().
Started 1 week, 3 days ago (2009-11-20 04:21:00)
by VictorN
Sorry, I couldn't understand what you need and what you did: FINDTEXTEX structure is used for Rich edit controls, not for Edit controls
What is the type of m_RichEdit in your code snippet?
To use Find and Replace dialogs in other than CRichEditCtrl classes you should use FINDREPLACE structure and FINDMSGSTRING Registered Message as it described in MSDN article you referred to
Started 1 week ago (2009-11-23 11:40:00)
by Paul McKenzie
Where is the actual declaration of the global variable located (the declaration without "extern")? That is what the linker can't find -- it has nothing to do with the initialization.
Regards,
Paul McKenzie
Started 4 days, 22 hours ago (2009-11-26 03:55:00)
by Skizmo
What does the debugger tell you about the assertion or where it happens ?
Started 1 week, 4 days ago (2009-11-19 15:40:00)
by Newkid34
i dont see a way to edit, so dont flame me if i missed it.
parts 1 2 3 need their own function that does what is said
part 1) function needs to be named Set
part 2) function needs to be named Displace
part 3) function needs to be named Rotate90
Started 6 days, 22 hours ago (2009-11-24 04:04:00)
by VictorN
Well, in this case why not just move code from DLL to exe?
|
|