Using the PNGWriter class, write a C++ program, which develops an 800 x 800 GUI application...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Using the PNGWriter class, write a C++ program, which develops an 800 x 800 GUI application in Visual C++ which will allow the following: 1. Four (4) 300 x 300 pictureBoxes. 2. Five (5) buttons. 3. A menu strip with two (2) main menu items called "File" and "Help". The picture boxes should be arranged with two boxes per row and a button below each pictureBox. The first combination of picture Box and button, should allow for the user to browse and select a PNG file and load it into the pictureBox, once the PNG file is selected. The second combination of pictureBox and button, should allow for the user, once the button is clicked, to take the picture in the first pictureBox and flip it horizontally and display the horizontally flipped image in the picture Box. The third combination of pictureBox and button, should allow for the user, once the button is clicked, to take the picture in the first picture Box and flip it vertically and display the vertically flipped image in the pictureBox. The fourth combination of pictureBox and button, should allow for the user, once the button is clicked, to remove all the green and blue colours from the picture in the first pictureBox and and display the re- coloured image in the pictureBox. The new image should contain only red and grey. The fifth button is to terminate the program. All buttons are to be labelled appropriately. The "File" menu strip item should contain sub-menu items to perform the tasks identified for the buttons. The "Help" menu item should contain on sub-menu item labelled as "About". Once that item is selected, an output dialogBox should be opened with the appropriate contents such as the student's name, ID number, Version number, etc. Using the PNGWriter class, write a C++ program, which develops an 800 x 800 GUI application in Visual C++ which will allow the following: 1. Four (4) 300 x 300 pictureBoxes. 2. Five (5) buttons. 3. A menu strip with two (2) main menu items called "File" and "Help". The picture boxes should be arranged with two boxes per row and a button below each pictureBox. The first combination of picture Box and button, should allow for the user to browse and select a PNG file and load it into the pictureBox, once the PNG file is selected. The second combination of pictureBox and button, should allow for the user, once the button is clicked, to take the picture in the first pictureBox and flip it horizontally and display the horizontally flipped image in the picture Box. The third combination of pictureBox and button, should allow for the user, once the button is clicked, to take the picture in the first picture Box and flip it vertically and display the vertically flipped image in the pictureBox. The fourth combination of pictureBox and button, should allow for the user, once the button is clicked, to remove all the green and blue colours from the picture in the first pictureBox and and display the re- coloured image in the pictureBox. The new image should contain only red and grey. The fifth button is to terminate the program. All buttons are to be labelled appropriately. The "File" menu strip item should contain sub-menu items to perform the tasks identified for the buttons. The "Help" menu item should contain on sub-menu item labelled as "About". Once that item is selected, an output dialogBox should be opened with the appropriate contents such as the student's name, ID number, Version number, etc.
Expert Answer:
Related Book For
Statistics For The Behavioral Sciences
ISBN: 9781111830991
9th Edition
Authors: Frederick J Gravetter, Larry B. Wallnau
Posted Date:
Students also viewed these algorithms questions
-
In this question assume that p and q are atomic formulae. (a) Compare and contrast path formulae and state formulae in temporal logic. [4 marks] (b) Describe and contrast the meanings of F(G p) and...
-
Let A, B be sets. Define: (a) the Cartesian product (A B) (b) the set of relations R between A and B (c) the identity relation A on the set A [3 marks] Suppose S, T are relations between A and B, and...
-
An analog filter is defined by its transfer function: 100n H(s) = %3D s+ 100n What type of filter H(s) is? A. Low-pass B. High-pass C. Band-pass D. Band-stop
-
Two carpenters are hammering at the same time, each at a different hammering frequency. The hammering frequency is the number of hammer blows per second. Every 4.6 s, both carpenters strike at the...
-
When analyzing paired sample data, the value of the correlation coefficient r allows us to determine whether one variable has a direct causal effect on the other. For Exercises 58, decide whether the...
-
A parallel-plate capacitor has plates of area \(A\). The plates are initially separated by a distance \(d\), but this distance can be varied. If the capacitor is charged by a battery and the battery...
-
Founded in the early 1980s, the Vermont Teddy Bear Co. designs and manufactures Americanmade teddy bears and markets them primarily as gifts called Bear-Grams or Teddy Bear-Grams. Bear-Grams are...
-
Explain why clients may want to have a review, versus an audit. In detail, explain the differences between a certified audit and a review. In addition, what role does an internal auditor play in...
-
Occidental Petroleum has $1,000 par value bonds that are currently trading at $950. The bonds were issued with a coupon rate of 5% and paid semi-annually. The bonds will mature in 10 years. The...
-
What is the main difference between traditional and activity-based costing-systems in warehouse management? please explain.
-
When securities require registration with the Securities and Exchange Commission, the securities can be sold during what phase of the registration process?
-
Over the course of the last year, Lane purchased 18 video games. 7 games cost $ 64 , 5 cost $ 49 , 3 cost $ 29 , and 3 cost $ 19 . What was the average cost of each game? Round to the nearest penny
-
The university has decided that for the following year, lecture costs will increase by 20%, workshop costs by 10% and examination costs will stay the same for level 2 the current hourly costs are...
-
Pine Company declared a property dividend of 20,000 shares of $1 par Polk Company common stock. The Polk stock was purchased for $5 per share. The fair value of Polk's stock was $10 per share on the...
-
Facebook has been a feature in the news cycle of 2021, perhaps not for the reasons they would have liked. Their first controversy occurred in January when it was announced that privacy settings on...
-
Define relevant costs and discuss: (1) whether all future costs are relevant for decision making and (2) whether variable costs are always relevant and fixed costs are always irrelevant
-
What information is provided by the sign (+/-) of a z-score? What information is provided by the numerical value of the z-score?
-
For each of the following populations, would a score of X = 50 be considered a central score (near the middle of the distribution) or an extreme score (far out in the tail of the distribution)? a. =...
-
In Chapter 15 (p. 531), we presented an example showing the general relationship among the number of churches, the number of serious crimes, and the population for a set of cities. At that time, we...
-
Explain why some employees are not comfortable being team players.
-
It is important to learn how to develop a comprehensive, clearly articulated team charter. Assume that you and your fellow students are a team in an organization (you choose the kind and size of...
-
What is responsive listening?
Study smarter with the SolutionInn App