Saturday, January 25, 2020

How London is Portrayed in Composed upon Westminster Bridge and London

How London is Portrayed in Composed upon Westminster Bridge and London William Wordsworth's poem, "Composed upon Westminster Bridge" written in 1904 looks at the positive side of London city and it natural Beauty. Whereas William Blake wrote the poem, "London" in 1794, the poem is negative towards authority and politics. The theme of the two poems is the city of London and how different people preserve it. "All bright and glittering in the smokeless air" (line 8) is a romantic view of the city of London. William Blake's perception is different. "Marks of weakness, marks of woe" (line 4) shows that London is corrupt and unhappy. The two poets, hence, have contrasting views of the city London. Wordsworth view is positive, focusing on the natural and man made beauty of the city. But on the other hand, Blake's poem dives deeper into a darker side of politics, prostitution and corrupted crocked people. The imagery used to express the themes is vivid and draws a picture in your head. Wordsworth poem draws flawless images of peace and harmony whereas Blake's p...

Thursday, January 16, 2020

Promote Products Essay

1. 1 Choose a product or service that could be promoted. Explain how and why you would promote that product or service. Identify at least three types of personnel you could use to help you plan and organise the promotion. What role would they play? How would their skills and experience help you? At work we are currently promoting our GPS products. We have chosen to promote these via direct marketing and by targeting certain business types. I liaised with our sales consultants, who talk to these people on a daily basis, to advise on what language should be used and what information they felt was most relevant to put across. We needed a graphic designer to create and develop ideas for the letters and DL flyers being sent. I also needed to involve juniors in the business to assist with folding letters and stuffing envelopes as we had determined that this would be a cheaper option for the business than using a mail house. 1. 2 Make a list of resources you would need for the promotion and identify where you could get them. Explain any actions you would need to take in order to have the resources ready for promotion. The database we purchased contained 7,000 leads so we then needed to purchase paper, envelops, ink, return stamps and organise postage. Paper, envelopes and labels for return address were all ordered in advance from Staples. Ink was also pre-ordered to ensure we didn’t run out during the print job. We then liaised with Australia Post to determine the best way to post this number of letters. We chose their â€Å"clean mail† option which meant having to mark each envelope with a pre paid stamp before taking to the post office. This stamp was purchased through Australia Post.

Wednesday, January 8, 2020

Handling Windows Messages the Delphi way

Delphi, youve got message to handle! One of the keys to traditional Windows programming is handling the messages sent by Windows to applications. Simply put, a message is some information sent from one place to another. For the most part, Delphi makes message handling easy through its use of events, an event is usually generated in response to a Windows message being sent to an application. However, someday you may want to process some uncommon messages like: CM_MOUSEENTER which happens (is posted by Windows) when mouse cursor enters the client area of some component (or form). Handling messages on their own requires a few extra programming techniques, this article is here to help us find the right way through the message river and grap needed information. Strategies to Manipulate Windows Messages With Delphi Drag a Window: No title bar! How can you drag such a window? Its easy and fun: lets make a Delphi form move by clicking (and dragging) in its client area. The main idea is to get your hands on the wm_NCHitTest windows message.How to send information (String, Image, Record) between two Delphi applications (WM_CopyData): Learn how to send the WM_CopyData message between two Delphi applications to exchange information and make two applications communicate. The accompanying source code demonstrates how to send a string, record (complex data type) and even graphics to another application.Sticky Windows: This strategy allows you to dock your Delphi forms to the edges of your desktop screen.Monitoring Registry Changes: Need to get notified about changes to the attributes or contents of a specified Registry key? Then you are ready for this your Delphi code toolkit.Sending Messages to Non-Windowed Applications: This strategy is used to send messages (signals) to non-windowed applications by u sing AllocateHWND and DefWindowProc. You should understand what Delphi does in the background to intercept Windows messages, how can you write your own message handler for a windowed application and how to obtain a unique message identifier that you can safely use in your applications. There is also a small bug in the Delphi DeallocateHWND procedure that you can fix along the way.Controlling the Number of Application Instances: In this article youll learn how to run-once enable a Delphi application that can check for its previous (running) instance. Along the process, several techniques of implementing such a check will be discussed; as well as how to bring your already running application to the foreground, if a user tries to run it one more time. By the end of the article youll have a copy-to-go code to control the behavior of your applications multiple instances: with the option to limit the number of running instances.How to Handle System Time Change Using Delphi Code: If you ne ed to react when system date time has changed you can handle the WM_TimeChange Windows message.How to Draw Custom Text on a Delphi Forms Caption Bar: If you want to add some custom text on the caption bar of a form, without changing the Caption property of the form you need to handle one special Windows message: WM_NCPAINT (along with WM_NCACTIVATE).How to Display Menu Item Hints: By (Windows) design, in Delphi applications, hints assigned to menu items do not get displayed in the popup tooltip window (when the mouse hovers over a menu).Get, Set, and Handle Display Device Modes (Screen Resolution and Color Depth): This strategy allows you to change the Windows display mode settings (resolution and color depth) from Delphi code. You can also handle the WM_DISPLAYCHANGE Windows message sent to all windows when the display resolution has changed.Get Current URL From IE: There is a Delphi tactic to retrieve the full URL of all opened Internet Explorer instances.Detecting and Preventing Windows Shut Down: You can use Delphi to programmatically cancel Windows shut down action.Display a Password Dialog: Suppose you have a data-critical type of application where you would not want a non-authored user to work with the data. What if you need to display a password dialog *before* the application is restored to make sure an authorized user is accessing it.Remove the Windows Constraint on Minimum Form Size: By Windows design, a form (window) has a size constraint that sets the minimum form height to the height of the caption bar and the width to 112 pixels (118 in XP theme).How to Detect a TPopupMenus OnClose (OnPopDown) Event: Unfortunately, the TPopupMenu does not expose an event you can handle that will fire when the menu gets closed - either after a user has selected an item from the menu or has activated some other UI element.Trapping Messages Sent to an Application: ...Delphi surfaces the OnMessage event for the Application object. The OnMessage event handler is supp osed to allow you trap every message sent to your application...