Student
Hi all I have been following a tutorial on creating win32 GUI applications. I'm having a problem getting a dialog box to pop up on top of my main window ...the CreateDialog() method returns a NULL for some reason. Would really appreciate some help with this. Here is a zip … |
|
'ellos So I'm making a Hangman game, and for the sake of completeness I want to have a HELP feature. When the Help button is clicked, a browser window should open up (not *within* the game frame... but just generally) and display the HTML Help file. How do I do … |
|
Hi all I am programming a database-related application in Java. I have to facilitate several different types of queries, but I'd like to use the same JTable to display the results of each query (one at a time, of course). The problem is that when I'm using one JTable, I … |
|
Hi all I'm experimenting with win API gui stuff, and I've run into a problem with dialog boxes. Currently, when the "Show DialogBox" option in the menu is pressed, the dialog box pops up. I then need for this dialog box to be draggable/moveable, and to "hide" when its close … |
|
Hi Friends, i made a window with a Panel and painted a text on it. Now i want to set a background color for the panel but it does not reflect in the window.. i am posting the code here.. Please let me know if anything is wrong with the … |
|
Hi all My program currently loads a bitmap (given a filename) and draws it to a window (win32 application). The problem is that once a different bitmap is loaded and drawn to the window... if the new bitmap is smaller than the old bitmap, the edges of the old bitmap … |
|
Hi all I am fairly new to C++, and am having problems creating a quick GUI application using the Win32 API. I'd like to use the "windows form project" option in Visual C++ ...which creates windows, textboxes, buttons etc. through a drag & drop interface. The problem is that I … |
|
Hi all I am implementing the TSP problem in Java. Here is the question: [quote] There are many strategies to approximate the optimal solution, amongst is the MST-Preorder-Walk strategy. Implement an algorithm that will give an approzimate solution of the TSP using this strategy. You must be able to save … |
|
Hi all Here is a PHP question I have to answer. [quote]Write a php file called reload.php that contains a table with 2 rows and 3 columns. In each of the cells of the top row of this table there should be the strings AAA, BBB & CCC. In the … |
|
Hi all Sorry, I didn't know where to post my perl programming question. I'm having a problem creating objects in perl. I found a piece of code on the internet, that gives an example of classes and objects in perl. I modified it a little bit, and now have this … |
|
Hi all Here are two questions from my Algorithms & Complexity Theory assignment. 1. A complete binary tree is a binary tree in which every level, except possibly the deepest, is completely filled. At depth n, the height of the tree, all the nodes must be as far left as … |
|
hi all I'm having an odd problem with Javascript. I created a table with a single row and a single column (and gave all of them IDs). Then I use onclick events to pick up mouseclicks and call the function `clicked(evt)`. I know this function is getting called, and I … |
|
Hi all Here is a question from my assignment in Algorithms & Complexity Theory. I'm having a problem with part 2. A continuous function f(x) such that f(a) and f(b) have opposite signs must have a zero (a point x such that f(x)=0) in the interval [a,b]. By checking whether … |
|
Hi all... I have a JFrame, which contains a JTabbed Pane, which contains two JPanels. The problem is that when I run the program, a completely grey frame shows up, and the contents only becomes visible when I click on the border of the frame. Here is the code. Compile … |
|
I'm new to Java and the Prof. asked us to create a program that prints out the Avg, Min & max of a set of Array values and I can't find a class or method that seem to do this . Any help would be much apperciated!!!! :rolleyes: |
|
Hi all I've programmed a relay chat system in Java. Just having two GUI-related problems with the chat client itself. [B][U]Problem #1[/U][/B] : I can't get the chat windows to scroll as new text appears in them. The scroll bar [i]does[/i] appear when it needs to, but it remains at … |
|
It's easy enough in Java. How is it done in C++? for e.g. I have a class called Relation, that has a name field (just a string) and then a vector of strings. I want to specify that wherever I type (for example): Relation* r = new Relation(...); cout << … |
|
I've got to implement Prolog in C++ for an assignment. I'm very new to C++, it's a little daunting. Also, I have no idea of where to start. Can someone point me to some basic algorithm and/or some resources online? |
|
hi just wondering if anyone can help me out. i need to create a loop to display 50 roll of two dice?? i keep getting an infinate loop and i don't know how to limit it to 50..... |
|
Hi all. Here are two questions to begin with: 1. What is the difference between the C++ standard library, and the C++ standard template library? 2. You know how Java has the API & documentation info. for all classes available? Where can I find similar documentation for the C++ standard … |
|
here is my program and hope u could help me solve my problem on how to repeat this whole game program when the player chooses the the Yes button which indicates that he'd like to play again. [CODE]a:\master1.java[/CODE] |
|
hey guys, i am on the process of finishing this program it is supposed to be finished already only that I do not know how am i going to repeat the whole game after the user chooses the Yes Button from the message box. i hope u could help me … |
|
Hello there. Can anybody help me with this problem. I am trying to write a program that creates instances of classes that extend JFrame to make my application windows.... This code runs but I can not reference the JTextField shown on the GUI - it seems that there is another … |